Class: AttachmentsBrowser

wp.media.view. AttachmentsBrowser


new AttachmentsBrowser( [options])

wp.media.view.AttachmentsBrowser
Parameters:
Name Type Argument Description
options object <optional>
The options hash passed to the view.
Properties
Name Type Argument Default Description
filters boolean | string <optional>
false Which filters to show in the browser's toolbar. Accepts 'uploaded' and 'all'.
search boolean <optional>
true Whether to show the search interface in the browser's toolbar.
date boolean <optional>
true Whether to show the date filter in the browser's toolbar.
display boolean <optional>
false Whether to show the attachments display settings view in the sidebar.
sidebar boolean | string <optional>
true Whether to create a sidebar for the browser. Accepts true, false, and 'errors'.
Source:

Extends

Members


toolbar :wp.media.view.Toolbar

Type:
Source:

Methods


dispose()

Overrides:
Source:
Returns:
Returns itself to allow chaining
Type
wp.media.view.AttachmentsBrowser

remove()

Inherited From:
Source:
Returns:
Returns itself to allow chaining
Type
wp.media.View