Class osmplayer.teaser
Extends
minplayer.display.
This class provides teaser functionality.
Defined in: osmplayer.teaser.js.
Constructor Attributes | Constructor Name and Description |
---|---|
osmplayer.teaser(context, options)
|
Field Attributes | Field Name and Description |
---|---|
Reset the constructor.
|
|
The preview image.
|
- Fields borrowed from class minplayer.display:
- onResize
- Fields borrowed from class minplayer.plugin:
- active, context, lock, name, options, pluginReady, queue, triggered, uuid
Method Attributes | Method Name and Description |
---|---|
select(selected)
Selects the teaser.
|
|
setNode(node)
Sets the node.
|
- Methods borrowed from class minplayer.display:
- construct, fullscreen, fullScreenElement, getDisplay, getElements, getScaledRect, hide, isFullScreen, onFocus, showThenHide, toggleFullScreen
- Methods borrowed from class minplayer.plugin:
- addPlugin, bind, checkQueue, create, destroy, get, isEvent, isValid, poll, ready, trigger, ubind, unbind
Class Detail
osmplayer.teaser(context, options)
- Parameters:
- {object} context
- The jQuery context.
- {object} options
- This components options.
Field Detail
constructor
Reset the constructor.
preview
The preview image.
Method Detail
select(selected)
Selects the teaser.
- Parameters:
- {boolean} selected
- TRUE if selected, FALSE otherwise.
setNode(node)
Sets the node.
- Parameters:
- {object} node
- The node object to set.