Class: PfDropdown

PfDropdown

<pf-dropdown> element for Patternfly Web Components


new PfDropdown()

Methods


_clearDropdown()

Close the dropdown


_detectTouch()

Support for phone browser


_keyHandler(event)

Support for accessibility

Parameters:
Name Type Description
event Event

_showDropdown()

Open the dropdown


attributeChangedCallback(attrName, oldValue, newValue)

Called when element's attribute value has changed

Parameters:
Name Type Description
attrName string

The attribute name that has changed

oldValue string

The old attribute value

newValue string

The new attribute value


disableClick()

Disable click on disabled items


toggle()

Toggle the dropdown