UNPKG

ickyrr-gagarin

Version:

A current updated fork of gagarin

53 lines (39 loc) 1.96 kB
<head> <title>example</title> </head> <body> </body> <template name="hello"> <h1>Hello World!</h1> {{greeting}} <input type="button" value="Click" /> <input type="text"/> <p>You clicked {{counter}} times.</p> <button id="waitForDOM">Click to add a new element.</button> <div id="waitUntilGone"> <div id="removeChildTestDiv">Click to remove this element.</div> </div> <div id="getText"><h3>Get text.</h3></div> <input id="getValue" type="text" value="Get value."> <div id="getClass" class="myClass">Get class.</div> <div id="noClass">Get class.</div> <input id="setValue" type="text"> <textarea id="focus" type="text">Click to focus this element.</textarea> <textarea id="blur" type="text">Click in then out to blur this element.</textarea> <!--checkIfVisible--> <div id="visibleElement">Visible Element.</div> <div id="hiddenElement" style="display:none">Hidden Element.</div> <div style="display:none"><ul><li id="hiddenChild"><p>Hidden Descendant.</p></li></ul></div> <div><ul><li><p id="visibleChild">Visible Descendant.</p></li></ul></div> <div id="fixedPositionDiv" style="position:fixed;top:16px;right:0px;">Fixed position.</div> <div id="absolutePositionDiv" style="position:absolute;top:0px;right:4px;">Absolute position.</div> <div id="fixedPositionDivHidden" style="position:fixed;top:16px;right:0px;display:none;">Fixed position hidden.</div> <div id="absolutePositionDivHidden" style="position:absolute;top:0px;right:4px;display:none;">Absolute position hidden.</div> <!--waitUntilNotVisible--> <div id="waitUntilNotVisible">Click to hide this element.</div> <button id="hideParentElement">Click to hide next div.</button> <div id="waitUntilNotVisibleParent"><ul><li><p id="visibleChild2">Visible Descendant 2.</p></li></ul></div> </template> <template name="testRouteTemplate"> <div id="testRouteDiv"><h1>Testing Iron Router WaitForRoute Helper.</h1></div> </template>