Module: alfresco/html/Spacer

alfresco/html/Spacer

This module provides a simple mechanism of creating additional white space between widgets. It will just create a DIV element of the supplied dimensions but you can additional provide CSS classes to add to the element to apply further styling.
Author:
  • Dave Draper
License:
Source:

Mixes In

Members

additionalCssClasses :string

Any additional classes to add. Some classes have been included with this widget, these are:
  • "top-border-beyond-gutters" - used to create a full width border commonly used under the title bar
Type:
  • string
Default Value:
  • null
Source:

cssRequirements :object[]

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

height :string

The height to set.
Type:
  • string
Default Value:
  • null
Source:

templateString :String

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

width :string

The width to set.
Type:
  • string
Default Value:
  • null
Source:

Methods

postCreate()

Source: