Data-Attributes
These data-attributes are used to be easier and "replace" some commands.
To use the Web SDK please install the snippet first.
You can open a popup view by (triggers when clicked):
Index
Id
Static
1
<div gc-open-view-index="0"></div>
Copied!
1
<div gc-open-view-id="119"></div>
Copied!
1
<div gc-open-view="languages"></div>
Copied!
If you use the attribute gc-read-only="true" with one of the attributes above, it will make the selected view closable and the back button will be hidden.
Example:
1
<div gc-open-view="languages" gc-read-only="true"></div>
Copied!
Last modified 1yr ago
Copy link