Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1032367 // HHamburgerMenu

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4327L/24K).

sclass HHamburgerMenu {
  new HPopDownButton menu;
  new HHamburgerIcon icon;
  
  S html aka get() {
    menu.buttonHTML = icon.inner_base();
    menu.menuStyle += "; left: -165px";
    icon.inner = () -> menu.html();
    ret icon.html();
  }
  
  void add(S entry) {
    menu.entries.add(entry);
  }
}

Author comment

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: 157 / 289
Version history: 2 change(s)
Referenced in: [show references]