Libraryless. Click here for Pure Java version (4327L/24K).
1 | sclass HHamburgerMenu { |
2 | new HPopDownButton menu; |
3 | new HHamburgerIcon icon; |
4 | |
5 | S html aka get() { |
6 | menu.buttonHTML = icon.inner_base(); |
7 | menu.menuStyle += "; left: -165px"; |
8 | icon.inner = () -> menu.html(); |
9 | ret icon.html(); |
10 | } |
11 | |
12 | void add(S entry) { |
13 | menu.entries.add(entry); |
14 | } |
15 | } |
Began life as a copy of #1032364
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032367 |
Snippet name: | HHamburgerMenu |
Eternal ID of this version: | #1032367/3 |
Text MD5: | 31b860706fee4162892525d41eb0356d |
Transpilation MD5: | 65122007bd8646d1e4f70d0da0539efc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-01 17:19:35 |
Source code size: | 319 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 290 |
Version history: | 2 change(s) |
Referenced in: | [show references] |