Skip to content

Instantly share code, notes, and snippets.

@mrlarner
Created April 25, 2019 23:10
Show Gist options
  • Save mrlarner/7022857310d0c410505b1c3ca0b4a9df to your computer and use it in GitHub Desktop.
Save mrlarner/7022857310d0c410505b1c3ca0b4a9df to your computer and use it in GitHub Desktop.
Bulk manage Tags
Bulk manage Tags
Inactive*
select entity to tag -> Select Entities
Select Entities
deactivate -> Inactive
select another entity to tag -> Select Entities
select all entities -> Select Entities
deselect all entities -> Select Entities
manage tags -> Tag Input
Update Entities?
# Tag Input component states
# https://sketch.systems/mrlarner/sketch/2d60cffe2392cc1e82d361fe104a4982
Tag Input
remove tag from selected entities -> Update Entities?
add tag to selected entities -> Update Entities?
remove all tags from selected entities -> Update Entities?
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment