new ContextualLinkView(options)
Create a new contextual link view.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | An object with the following keys: Properties
|
Extends
- Backbone.View
Methods
events() → {object}
Define all events to listen to.
Returns:
A map of events.
- Type
- object
render(entityModel, isActive) → {Drupal.quickedit.ContextualLinkView}
Render function for the contextual link view.
Parameters:
Name | Type | Description |
---|---|---|
entityModel |
Drupal.quickedit.EntityModel | The associated |
isActive |
bool | Whether the in-place editor is active or not. |
Returns:
The ContextualLinkView
in question.