Skip to content

Instantly share code, notes, and snippets.

@jfsiii
Created March 4, 2015 22:01
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 jfsiii/188a4effa97649ab69a5 to your computer and use it in GitHub Desktop.
Save jfsiii/188a4effa97649ab69a5 to your computer and use it in GitHub Desktop.
<style>
.is-hidden { display: none; }
.is-visible { display: block; }
</style>
<div class="app-root">
<div class="some-component">
<div class="some-component-child-a">
<button jsaction="foo">Click here</button>
</div>
</div>
<div class="another-component is-hidden">
<div class="another-component-child-b">
Show this on [jsaction=foo] click
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment