Class: AvailableWidgetsPanelView

wp.customize.Widgets. AvailableWidgetsPanelView


new AvailableWidgetsPanelView()

View class for the available widgets panel.
Source:

Extends

  • wp.Backbone.View

Members


Performs a search and handles selected widget.
Source:

Methods


_submit()

Handles submit for keypress and click on widget.
Source:

announceSearchMatches()

Sends a message to the aria-live region to announce how many search results.
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:

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: