Constructor
new LayerCategoryListView()
- Since:
- Source:
Extends
Members
className :string
The HTML classes to use for this view's element
Type:
- Source:
The array of layer categories to display in the list
Type:
- Source:
type :string
The type of View this is
Type:
- Source:
Methods
initialize(options)
Executed when a new LayerCategoryListView is created
Parameters:
Name |
Type |
Description |
options |
Object
|
A literal object with options to pass to the view |
- Source:
Renders this view
- Source:
Returns:
Returns the rendered view element
-
Type
-
LayerCategoryListView
search(textopt) → {boolean}
Searches and only dispays categories and layers that match the text.
Parameters:
Name |
Type |
Attributes |
Description |
text |
string
|
<optional>
|
The search text from user input. |
- Source:
Returns:
- True if a layer item matches the text
-
Type
-
boolean