Class: PortalVisualizationsView

PortalVisualizationsView()

The PortalVisualizationsView is a view to render the portal visualizations tab (within PortalSectionView)

Constructor

new PortalVisualizationsView()

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
Overrides:
Source:

model :PortalVizSectionModel

The PortalVizSectionModel
Type:
Overrides:
Source:

sectionName :string

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

tagName :string

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

template :Underscore.Template

Renders the compiled template into HTML
Type:
  • Underscore.Template
Overrides:
Source:

type :string

The type of View this is
Type:
  • string
Overrides:
Source:

uniqueSectionLabel :string

The unique label for this Section. It most likely matches the label on the model, but may include a number after if more than one section has the same name.
Type:
  • string
Inherited From:
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)

Construct a new instance of PortalVisualizationsView
Parameters:
Name Type Description
options Object A literal object with options to pass to the view
Overrides:
Source:

onClose()

Clean up
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()

Function called by the PortalView when the section that contains this visualization becomes active (e.g. the user clicks on the section tab). Render the visualization and, if this is a fever viz, adjust the height.
Overrides:
Source:

render()

Renders the view
Overrides:
Source:

renderFEVer()

Renders a FEVer visualizattion in this view
Source:

renderMap()

Renders a MapView and inserts into this view
Source: