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