2021.2

Table Of Contents
Event Description
set.cotg Fired after an annotation has been made.
Locale
cotgLocale()
Initializing a new Locale element sets it to the device's locale.
Example: $('#myLocale').cotgLocale();
Events
The Locale element listens for the following event.
Event Description
clear.cotg
Removes the Locale data.
The Locale element broadcasts the following event.
Event Description
set.cotg This event is fired during initialization of the element, after setting its value to
the current locale.
Repository ID
cotgRepositoryId()
Initializing a new Repository ID puts the current Repository ID in the hidden input of this
element. The Repository ID is based on the currently logged on COTG user.
Example: $('#myRepID').cotgRepositoryId();
Events
The Repository ID element listens for the following custom events.
Page 630