Tags
Group tags to unlock extra layout options.
Inline Tags
Whenever you put tags one after another, they will be displayed in an inline
fashion.
<script>
ts.ui.ready(() => {
ts.ui.get('#tag-lich', tag => {
tag.data = new Map([
['Lich', 'Acererak']
]);
});
ts.ui.get('#tag-beholder', tag => {
tag.data = new Map([
['Beholder', 'Xanathar']
]);
});
});
</script>
<div>
<figure
id="tag-lich"
data-ts="Tag">
</figure>
<figure
id="tag-beholder"
data-ts="Tag">
</figure>
</div>
Block Tags
This API is under construction.