shock01 / oig

Playing around with ES6, MVVM and stuff like that
1 stars 1 forks source link

Add When Element #4

Closed shock01 closed 9 years ago

shock01 commented 9 years ago

Add a new Custom Element oig-when to have elements rendered on page based on evaluation of expression in oig-if

When evaluated false then include the content as a comment node Otherwise render the contents

Example: