mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
35 lines
1.3 KiB
ReStructuredText
35 lines
1.3 KiB
ReStructuredText
.. Copyright (C) 2010-2021 Combodo SARL
|
|
.. http://opensource.org/licenses/AGPL-3.0
|
|
|
|
UIBlock
|
|
=======
|
|
|
|
Description
|
|
-----------
|
|
|
|
UIBlock is the root class for all the other blocks.
|
|
|
|
|
|
Twig Tag
|
|
--------
|
|
|
|
This block has no Twig tag, but the following parameters are common to all the other Twig blocks.
|
|
|
|
.. _UIBlock_parameters:
|
|
|
|
:Parameters:
|
|
|
|
+------------------+--------+----------+----------------------------------------------+
|
|
| *CSSClasses* | array | optional | Array of CSS classes to set to the block |
|
|
+------------------+--------+----------+----------------------------------------------+
|
|
| *DataAttributes* | array | optional | Array of data attributes to set to the block |
|
|
+------------------+--------+----------+----------------------------------------------+
|
|
| *IsHidden* | bool | optional | Show or hide the current block |
|
|
+------------------+--------+----------+----------------------------------------------+
|
|
| *AddCSSClass* | string | optional | Add a CSS class to the block |
|
|
+------------------+--------+----------+----------------------------------------------+
|
|
| *AddCSSClasses* | array | optional | Add CSS classes to the block |
|
|
+------------------+--------+----------+----------------------------------------------+
|
|
|
|
|