Constructor
new ZoomPresetView()
- Since:
- Source:
Extends
Members
className
- Source:
templateVars
Values meant to be used by the rendered HTML template.
- Source:
type :string
The type of View this is
Type:
- Source:
Methods
events()
The events this view will listen to and the associated function to call.
- Source:
initialize(param0)
Initialize the view with the given options.
Parameters:
Name |
Type |
Description |
param0 |
object
|
The view options.
Properties
Name |
Type |
Description |
preset |
ZoomPresetModel
|
The metadata associated with this zoom |
selectCallback |
function
|
to be called when this preset is
selected. |
|
- Source:
render()
Render the view by updating the HTML of the element.
The new HTML is computed from an HTML template that
is passed an object with relevant view state.
- Source:
select()
Add the active class and call the select callback function set on
this view by the parent ZoomPresetsListView.
- Source: