Class Drawer
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, Drawer>, ElementClassListMethods<HTMLElement, Drawer>, ElementConsumerMethods<HTMLElement, Drawer>, ElementContainerMethods<HTMLElement, Drawer>, ElementEventMethods<HTMLElement, Drawer>, ElementIdMethods<HTMLElement, Drawer>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, Drawer>, HTMLElementDataMethods<HTMLElement, Drawer>, HTMLElementStyleMethods<HTMLElement, Drawer>, HTMLElementVisibilityMethods<HTMLElement, Drawer>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, Drawer>, Component, Expandable<HTMLElement, Drawer>, Modifiers.Inline<HTMLElement, Drawer>, Modifiers.Static<HTMLElement, Drawer>
public class Drawer
extends BaseComponent<HTMLElement, Drawer>
implements Expandable<HTMLElement, Drawer>, Modifiers.Inline<HTMLElement, Drawer>, Modifiers.Static<HTMLElement, Drawer>
A drawer is a sliding panel that enters from the right edge of the viewport. It can be configured to either overlay content
on a page or create a sidebar by pushing that content to the left.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(DrawerContent content) add(DrawerPanel panel) add(DrawerSection section) addContent(DrawerContent content) addPanel(DrawerPanel panel) addSection(DrawerSection section) voidcollapse(boolean fireEvent) content()static Drawerdrawer()voidexpand(boolean fireEvent) inline(boolean inline) Adds/removes modifier(inline)onToggle(ToggleHandler<Drawer> toggleHandler) panel()that()Methods inherited from class BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface Modifiers.Inline
inlineMethods inherited from interface Modifiers.Static
static_, static_
-
Method Details
-
drawer
-
addSection
-
add
-
addContent
-
add
-
addPanel
-
add
-
position
-
inline
Description copied from interface:Modifiers.InlineAdds/removes modifier(inline)- Specified by:
inlinein interfaceModifiers.Inline<HTMLElement, Drawer>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, Drawer>
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapsein interfaceExpandable<HTMLElement, Drawer>
-
expand
public void expand(boolean fireEvent) - Specified by:
expandin interfaceExpandable<HTMLElement, Drawer>
-
content
-
panel
-