Files
iTop/.doc/UI/source/Component/UIBlock/UIBlock.rst
2021-05-18 18:06:50 +02:00

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 |
+------------------+--------+----------+----------------------------------------------+