Class: PortalDataView

PortalDataView()

The PortalDataView is a view to render the portal data tab (within PortalView) to display all the datasets related to this portal.

Constructor

new PortalDataView()

Source:

Extends

Members

active :boolean

Specifies if this section is active or not
Type:
  • boolean
Inherited From:
Source:

className :string

The HTML classes to use for this view's element
Type:
  • string
Inherited From:
Source:

model :PortalModel

The Portal associated with this view
Type:
Overrides:
Source:

sectionName :string

The display name for this Section
Type:
  • string
Inherited From:
Source:

subviews :Array.<Backbone.View>

An array of subviews in this view
Type:
  • Array.<Backbone.View>
Source:

tagName :string

The HTML tag name for this view's element
Type:
  • string
Overrides:
Source:

template :UnderscoreTemplate

Type:
  • UnderscoreTemplate
Inherited From:
Source:

type :string

The type of View this is
Type:
  • string
Inherited From:
Source:

uniqueSectionLabel :string

The display name for this Section
Type:
  • string
Overrides:
Source:

Methods

getName(optionsopt) → {string}

Gets the name of this section and returns it
Parameters:
Name Type Attributes Description
options Object <optional>
Optional options for the name that is returned
Properties:
Name Type Description
options.linkFriendly Boolean If true, the name will be stripped of special characters
Inherited From:
Source:
Returns:
The name for this section
Type
string

initialize(options)

Parameters:
Name Type Description
options Object A literal object with options to pass to the view
Properties:
Name Type Description
options.model PortalSection The PortalSection rendered in this view
options.sectionName string The name of the portal section
Inherited From:
Source:

postMarkdownRender()

When the portal section markdown is rendered in a MarkdownView, format the resulting HTML as needed for this view
Inherited From:
Source:

postRender()

This funciton is called after this view has fully rendered and is visible on the webpage
Inherited From:
Source:

render()

Renders the view
Overrides:
Source: