new PfDropdown()
Methods
-
_clearDropdown()
-
Close the dropdown
-
_detectTouch()
-
Support for phone browser
-
_keyHandler(event)
-
Support for accessibility
Parameters:
Name Type Description eventEvent -
_showDropdown()
-
Open the dropdown
-
attributeChangedCallback(attrName, oldValue, newValue)
-
Called when element's attribute value has changed
Parameters:
Name Type Description attrNamestring The attribute name that has changed
oldValuestring The old attribute value
newValuestring The new attribute value
-
disableClick()
-
Disable click on disabled items
-
toggle()
-
Toggle the dropdown