You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over the next few versions I think it would great to expand the API methods available, allowing certain settings to be changed at run time, rather than needing to recreate the component. The below are ideas for the dropdown popup, any other ideas please just comment!
close() - Closes the dropdown
open() - Opens the dropdown
toggle() - Toggles the visibility of the dropdown
isVisible(): boolean - Returns true if the dropdown is visible, false otherwise
trigger(event_name: string) - This will trigger the provided event on the dropdown instance. Note: This wouldn't be restricted to documented events, so could be used for handling custom events
The text was updated successfully, but these errors were encountered:
Over the next few versions I think it would great to expand the API methods available, allowing certain settings to be changed at run time, rather than needing to recreate the component. The below are ideas for the dropdown popup, any other ideas please just comment!
close()
- Closes the dropdownopen()
- Opens the dropdowntoggle()
- Toggles the visibility of the dropdownisVisible(): boolean
- Returns true if the dropdown is visible, false otherwisetrigger(event_name: string)
- This will trigger the provided event on the dropdown instance. Note: This wouldn't be restricted to documented events, so could be used for handling custom eventsThe text was updated successfully, but these errors were encountered: