Skip to content

Instantly share code, notes, and snippets.

@cookavich
Last active June 6, 2019 14:05
Show Gist options
  • Save cookavich/add9138cda1d9f2af1051bf7a89a13d4 to your computer and use it in GitHub Desktop.
Save cookavich/add9138cda1d9f2af1051bf7a89a13d4 to your computer and use it in GitHub Desktop.
Promotion Stepper
Promotion Stepper
Step 1
select deals -> Deals Stepper
select new vendor -> New Vendor Stepper
Deals Stepper
Deals Step 2
next -> Deals Step 3
Deals Step 3
next -> Promotions Page
New Vendor Stepper
NV Step 2
next -> NV Step 3
NV Step 3
next -> Promotions Page
Promotions Page
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