| 1 |
<!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--> |
| 7 |
<div id="sandbox"></div> |
| 8 |
|
| 9 |
<div id="button" title="Click for Decorated"> |
| 10 |
Hello Decorated |
| 11 |
</div> |
| 12 |
|
| 13 |
<div id="button-2" title="Click for Decorated"> |
| 14 |
Hello Decorated |
| 15 |
</div> |
| 16 |
|
| 17 |
<!-- The component DOM must always be created without whitespace. --> |
| 18 |
<div id="button-box" title="Click for Decorated Box" class="goog-menu-button goog-button-base"><div class="goog-inline-block goog-button-base-outer-box"><div class="goog-inline-block goog-button-base-inner-box"><div class="goog-button-base-pos"><div class="goog-button-base-top-shadow"> </div><div class="goog-button-base-content">Hello Decorated Box<div class="goog-menu-button-dropdown"> </div></div></div></div></div></div> |
| 19 |
|
| 20 |
<div id="button-with-dom-content" class="goog-menu-button"> |
| 21 |
<strong>Hello Strong</strong> <em>Box</em> |
| 22 |
</div> |
| 23 |
|
| 24 |
<div id="button-with-menu" class="goog-menu-button"> |
| 25 |
Button with Menu |
| 26 |
<div class="goog-menu"> |
| 27 |
<div class="goog-menuitem">Item 1</div> |
| 28 |
<div class="goog-menuitem">Item 2</div> |
| 29 |
</div> |
| 30 |
</div> |