new AvailableWidgetsPanelView()
View class for the available widgets panel.
Extends
- wp.Backbone.View
Members
-
search
-
Performs a search and handles selected widget.
Methods
-
_submit()
-
Handles submit for keypress and click on widget.
-
announceSearchMatches()
-
Sends a message to the aria-live region to announce how many search results.
-
close()
-
Closes the panel.
-
focus()
-
Highlights a widget on focus.
-
keyboardAccessible()
-
Adds keyboard accessiblity to the panel.
-
open()
-
Opens the panel.
-
select()
-
Highlights a widget.
-
submit()
-
Adds a selected widget to the sidebar.
-
updateList()
-
Changes visibility of available widgets.
-
updateSearchMatchesCount()
-
Updates the count of the available widgets that have the `search_matched` attribute.