new PortEditorDataView()
Members
className :string
The HTML classes to use for this view's element
Type:
- string
editCollectionViewContainer :string
A jQuery selector for the element that the EditCollectionView should be inserted into
Type:
- string
events :Object
The events this view will listen to and the associated function to call.
Type:
- Object
id
The id attribute of the view element
model :Portal
The PortalModel that is being edited
Type:
- Portal
sectionType :string
The type of section view this is
Type:
- string
template
References to templates for this view. HTML files are converted to Underscore.js templates
type :string
The type of View this is
Type:
- string
uniqueSectionLabel :string
The display name for this Section
Type:
- string
Methods
initialize(options)
Creates a new PortEditorDataView
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | A literal object with options to pass to the view |
openInNewTab(e)
Opens a link in a new tab even when the target=_blank attribute isn't set.
Link is assumed to be relative; the base url is prepended to make it absolute.
Parameters:
Name | Type | Description |
---|---|---|
e |
Event | The click event on an HTML achor element |
render()
Renders this view