Skip to content

Instantly share code, notes, and snippets.

@shanberg
Created August 17, 2023 14:31
Show Gist options
  • Save shanberg/a948f5eba7fa96f32f3d244faac5f084 to your computer and use it in GitHub Desktop.
Save shanberg/a948f5eba7fa96f32f3d244faac5f084 to your computer and use it in GitHub Desktop.
My Awesome Sketch
My Awesome Sketch
New Item
set process -> Item With Process
set material -> Item With Material
Item With Process
set material -> Item With Process And Material
set finishes -> Item With Process And Finishes
remove process -> New Item
Item With Process And Finishes
set material -> Item With Process And Material And Finishes
remove process -> New Item
Item With Material
set process -> Item With Process And Material
remove material -> New Item
Item With Process And Material
set finishes -> Item With Process And Material And Finishes
remove process -> New Item
remove material -> Item With Process
Item With Process And Material And Finishes
remove process -> New Item
remove material -> Item With Process
remove finishes -> Item With Process And Material
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