Class Spacer
Define a Foo block to be displayed into a JBlocks.
- Defined in: jblocks.block.spacer.js
- Extends Block
Constructor Attributes | Constructor Name and Description |
---|---|
Spacer()
A Spacer block just occupy space without displaying any content. |
Method Summary
Class Detail
Spacer()
A Spacer block just occupy space without displaying any content.
The constructor should not be invoked directly but JBlocks#newBlock or JBlocks#addNewBlock should be used instead.
Method Detail
-
init(layout, options)Initializes a Spacer block. The method is invoked by the jBlocks core and must never be called directly.
- Parameters:
- {Object} layout Optional
- see Block#init
- {Object} options Optional
- see Block#init