Module: alfresco/integration/IFrame

alfresco/integration/IFrame

A class that wraps an iframe
Author:
  • Erik Winlöf
License:
Source:

Members

baseClass :string

The base css class to use for this widget
Type:
  • string
Default Value:
  • "alfresco-integration-IFrame"
Source:

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/Chart.css"}]
Source:

height :number

The initial static height in pixels.
Type:
  • number
Default Value:
  • 600
Source:

iFrameNode :HTMLElement

The iframe element (will be set by dojo)
Type:
  • HTMLElement
Source:

messages :Array

The messages to show when src is set to null
Type:
  • Array
Source:

messagesNode :HTMLElement

The element showing the messages
Type:
  • HTMLElement
Source:

src :null|string

The src url to display in the iframe
Type:
  • null | string
Default Value:
  • null
Source:

srcTopic :string

This topic will be subscribed to for new src information
Type:
  • string
Source:

srcType :string

The src type to use (defaults to FULL_PATH).
Type:
  • string
Since:
  • 1.0.43
Source:
See:

templateString :string

The HTML template to use for the widget.
Type:
  • string
Source:

width :number|null|string

The width in pixels of the chart. A null value indicates 100%
Type:
  • number | null | string
Default Value:
  • "100%"
Source:

<inner> heightConfig

If height is required to change it can be set to a calculated value instead based on the Dom. Config shall be set to match the expectation of the config attribute of DomElementUtils's resolveDomCalculation method.
Source:

Methods

postCreate()

Sets up topic subscriptions and makes sure the chart is resized when the window is resized.
Source:

postMixInProperties()

Subscribes to the data topic
Source:

<private, inner> _setHeight(height)

Parameters:
Name Type Description
height
Source:

<private, inner> _setSrc(src)

Parameters:
Name Type Description
src
Source: