-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
323 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
function testDom() { | ||
return ` | ||
<button id="btn1" easy-toggle="#dropdown" easy-class="active">Menu 1</button> | ||
<div id="dropdown"> | ||
<a href="#">Item 1</a> | ||
<a href="#">Item 2</a> | ||
<a href="#">Item 3</a> | ||
</div> | ||
<button id="btn2" easy-toggle="#dropdown2" easy-class="active-menu" easy-rcoe>Menu 2</button> | ||
<div id="dropdown2" class="active-menu"> | ||
<a href="#">Item 1</a> | ||
<a href="#">Item 2</a> | ||
<a href="#">Item 3</a> | ||
</div> | ||
<button id="btn3" easy-toggle="#dropdown3" easy-class="active-menu" easy-rcoe easy-parallel> | ||
Menu 3 | ||
</button> | ||
<div id="dropdown3" class="active-menu"> | ||
<a href="#">Item 1</a> | ||
<a href="#">Item 2</a> | ||
<a href="#">Item 3</a> | ||
</div> | ||
<button id="showModal" easy-add="#modal_1" easy-class="show" easy-rcoe>Modal show!</button> | ||
<div id="modal_1"> | ||
<button id="closeModal" easy-remove="#modal_1" easy-class="show">Close modal</button> | ||
<div> | ||
<h3>Modal window</h3> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Expedita reiciendis, earum cupiditate obcaecati vel in vitae officia nihil praesentium id, quod quasi repellat maxime fugiat eos ipsa. Consectetur, aperiam dignissimos!</p> | ||
</div> | ||
</div> | ||
<button id="btn3" easy-toggle="#dropdown3" easy-class="active-menu" easy-rcoe easy-parallel> | ||
Menu 3 | ||
</button> | ||
<div id="dropdown3" class="active-menu"> | ||
<a href="#">Item 1</a> | ||
<a href="#">Item 2</a> | ||
<a href="#">Item 3</a> | ||
</div> | ||
<button id="btnSelf" easy-toggle="#dropdownSelf" easy-class="active-menu" easy-rcoe easy-self="btn-active"> | ||
Button with self | ||
</button> | ||
<div id="dropdownSelf"> | ||
<a href="#">Item 1</a> | ||
<a href="#">Item 2</a> | ||
<a href="#">Item 3</a> | ||
</div> | ||
` | ||
} | ||
|
||
export default testDom; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.