Class Foo
Define a Foo block to be displayed into a JBlocks.
- Defined in: jblocks.block.foo.js
- Extends Block
Constructor Attributes | Constructor Name and Description |
---|---|
Foo()
A Foo block just displays a letter. |
Method Summary
Class Detail
Foo()
A Foo block just displays a letter. It is mainly used for testing.
The constructor should not be invoked directly but JBlocks#newBlock or JBlocks#addNewBlock should be used instead.
Method Detail
-
init(layout, options)Initializes a Foo 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