UIContentBlock
Class UIContentBlock
Base block containing sub-blocks
Output
No output provided yet
Twig Tag
| Tag: | UIContentBlock |
| Syntax: | |
{% UIContentBlock Type {Parameters} %}
Content Goes Here
{% EndUIContentBlock %}
UIContentBlock Standard
{% UIContentBlock Standard {sId:'value', aContainerClasses:{name:value, name:value}} %}
Content Goes Here
{% EndUIContentBlock %}
| sId |
string |
optional |
NULL |
|
| aContainerClasses |
array |
optional |
array () |
|
UIContentBlock ForCode
{% UIContentBlock ForCode {sCode:'value', sId:'value'} %}
Content Goes Here
{% EndUIContentBlock %}
| sCode |
string |
mandatory |
|
|
| sId |
string |
optional |
NULL |
|
UIContentBlock ForPreformatted
{% UIContentBlock ForPreformatted {sCode:'value', sId:'value'} %}
Content Goes Here
{% EndUIContentBlock %}
| sCode |
string |
mandatory |
|
|
| sId |
string |
optional |
NULL |
|
UIContentBlock common parameters
| AddCSSClass |
string |
CSS class to add to the generated html block |
| AddCSSClasses |
array |
like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code> |
| AddCssFileRelPath |
string |
|
| AddDeferredBlock |
iUIBlock |
|
| AddHtml |
string |
|
| AddJsFileRelPath |
string |
|
| AddMultipleCssFilesRelPaths |
array |
|
| AddMultipleJsFilesRelPaths |
array |
|
| AddSubBlock |
iUIBlock |
|
| CSSClasses |
array |
like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code> |
| DataAttributes |
array |
Array of data attributes in the format [‘name’ => ‘value’] |
| DeferredBlocks |
array |
|
| IsHidden |
bool |
Indicates if the block is hidden by default |
| SubBlocks |
array |
|
Examples
No examples provided yet