Tags JSON API
The examples shown here are the exact same ones as under the Tag tab, just using a slightly different notation.
When using the JSON API, you create the FIGURE
element with data-ts="Tag"
, use ts.ui.get()
get a reference to it and call render()
to pass it a new model.
Value-only
Key-Value
Key with multiple values
Multiple keys with single value
Multiple keys with multiple values
Multiple sets of key-values
Clickable look & click handler
Delete button & delete handler
Click & delete
Locked look
List of Tags
List of Tags (maximized)
This API is under construction.