Skip to content

Instantly share code, notes, and snippets.

@dommmel
Last active October 14, 2018 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dommmel/0f9685fd2d83ec74796bc7627b71ce1a to your computer and use it in GitHub Desktop.
Save dommmel/0f9685fd2d83ec74796bc7627b71ce1a to your computer and use it in GitHub Desktop.
Image Modifier
Image Modifier
Specify Preview Image*
Empty URL*
typed -> Filled URL
Filled URL
submitted -> Select Ad Format
Select Ad Format
selected Single -> Single
selected Carousel -> Carousel
Carousel*
submitted -> Select Fitting Method
Single
submitted -> Select Fitting Method
Select Fitting Method
selected Fill Color -> Fill Color
selected Fill Auto Color -> Fill Auto Color
Fill Auto Color
submitted -> Select Overlay
Fill Color*
submitted -> Configure Fitting Method
Configure Fitting Method
submitted -> Select Overlay
canceled -> Select Fitting Method
Select Overlay
Configure Overlay
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