Class: PortalMembersView

PortalMembersView()

The PortalMembersView is a view to render the portal members tab (within PortalSectionView)

Constructor

new PortalMembersView()

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 :PortalSection

The PortalSectionModel that is being edited
Type:
  • PortalSection
Inherited From:
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 :UnderscoreTemplate

Type:
  • UnderscoreTemplate
Inherited From:
Source:

type :string

The type of View this is
Type:
  • string
Overrides:
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: