2022.1

Table Of Contents
Event Description
show-time-
picker.cotg
Opens the Time Picker. If no time is provided (specified in a Date
object), the current time will be shown.
User Account
cotgUserAccount()
Initializing a new User Account element puts the account of the current user in the hidden input
of this element.
Example: $('#myUser').cotgUserAccount();
Events
The User Account element listens for the following custom event.
Event Description
clear.cotg Removes the User Account data.
The User Account 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 user account.
Content elements
Once you have created a template, it can be filled with all kinds of elements, from text to
barcodes and from tables to fields on a web form. All types of elements are listed on this page.
There are several ways to insert elements, see "Inserting an element" on page668.
Each element can have an IDand a class, as well as a number of other properties, depending
on the element's type. When an element is selected, its properties can be changed; see
Page 664