Module: alfresco/html/HR

alfresco/html/HR

This module provides a simple mechanism for creating HR elements on a page to separate sections of content.
Author:
  • Martin Doyle
License:
Source:

Example

Sample usage:

{
   name: "alfresco/html/HR",
   config: {
      style: "background-color: #f00; margin: 20px 10px;"
   }
}

Mixes In

  • external:dojo/_TemplatedMixin

Members

cssRequirements :object[]

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

templateString :String

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

<inner> style :String

Any optional style rules to be applied to the HR
Type:
  • String
Default Value:
  • null
Source:

Methods

postCreate()

Run after widget has been created
Source: