Class PopperDropdown

All Implemented Interfaces:
Attachable, ElementAttributeMethods<HTMLElement, PopperDropdown>, ElementClassListMethods<HTMLElement, PopperDropdown>, ElementConsumerMethods<HTMLElement, PopperDropdown>, ElementContainerMethods<HTMLElement, PopperDropdown>, ElementEventMethods<HTMLElement, PopperDropdown>, ElementIdMethods<HTMLElement, PopperDropdown>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, PopperDropdown>, HTMLElementDataMethods<HTMLElement, PopperDropdown>, HTMLElementStyleMethods<HTMLElement, PopperDropdown>, HTMLElementVisibilityMethods<HTMLElement, PopperDropdown>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, PopperDropdown>, Component, Expandable<HTMLElement, PopperDropdown>, Modifiers.Disabled<HTMLElement, PopperDropdown>

@Deprecated(since="0.7.0", forRemoval=true) public class PopperDropdown extends ComponentDelegate<HTMLElement, PopperDropdown>
Deprecated, for removal: This API element is subject to removal in a future version.
This implementation uses the Popper.js API, which is due to be removed soon. Use Dropdown instead.
A dropdown presents a menu of actions or links in a constrained space that will trigger a process or navigate to a new location. See select component guidelines for more information about making one or more selections from a list of items in a value list.
  • Method Details

    • that

      public PopperDropdown that()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • attach

      public void attach(MutationRecord mutationRecord)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      attach in interface Attachable
    • detach

      public void detach(MutationRecord mutationRecord)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      detach in interface Attachable
    • addMenu

      public PopperDropdown addMenu(Menu menu)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • add

      public PopperDropdown add(Menu menu)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • applyToMenuToggle

      public PopperDropdown applyToMenuToggle(Consumer<MenuToggle> consumer)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Provides access to the underlying menu toggle using a fluent API style
    • disabled

      public PopperDropdown disabled(boolean disabled)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      disabled in interface Modifiers.Disabled<HTMLElement, B extends TypedBuilder<HTMLElement, B>>
    • isDisabled

      public boolean isDisabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isDisabled in interface Modifiers.Disabled<HTMLElement, B extends TypedBuilder<HTMLElement, B>>
    • flip

      public PopperDropdown flip(boolean flip)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • placement

      public PopperDropdown placement(PopperPlacement placement)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • stayOpen

      public PopperDropdown stayOpen()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • stayOpen

      public PopperDropdown stayOpen(Predicate<Event> stayOpen)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specifies a condition that determines whether the menu should remain open when an event occurs.
      Parameters:
      stayOpen - a Predicate that evaluates an Event to determine if the menu remains open.
      Returns:
      the current instance with the condition applied, enabling method chaining.
    • zIndex

      public PopperDropdown zIndex(int zIndex)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ariaLabel

      public PopperDropdown ariaLabel(String label)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onLoaded

      public PopperDropdown onLoaded(ComponentHandler<PopperDropdown> loadedHandler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onToggle

      public PopperDropdown onToggle(ToggleHandler<PopperDropdown> toggleHandler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • collapse

      public void collapse(boolean fireEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      collapse in interface Expandable<HTMLElement, B extends TypedBuilder<HTMLElement, B>>
    • expand

      public void expand(boolean fireEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      expand in interface Expandable<HTMLElement, B extends TypedBuilder<HTMLElement, B>>