mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
90 lines
3.7 KiB
ReStructuredText
90 lines
3.7 KiB
ReStructuredText
.. Copyright (C) 2010-2021 Combodo SARL
|
|
.. http://opensource.org/licenses/AGPL-3.0
|
|
|
|
.. _CollapsibleSection:
|
|
|
|
CollapsibleSection
|
|
==================
|
|
|
|
Class CollapsibleSection
|
|
|
|
----
|
|
|
|
.. include:: /manual/Component/CollapsibleSection/CollapsibleSectionAdditionalDescription.rst
|
|
|
|
----
|
|
|
|
Twig Tag
|
|
--------
|
|
|
|
:Tag: **UICollapsibleSection**
|
|
|
|
:Syntax:
|
|
|
|
::
|
|
|
|
{% UICollapsibleSection Type {Parameters} %}
|
|
Content Goes Here
|
|
{% EndUICollapsibleSection %}
|
|
|
|
:Type:
|
|
|
|
+----------------------------------------------+------------+
|
|
| :ref:`Standard <CollapsibleSectionStandard>` | No comment |
|
|
+----------------------------------------------+------------+
|
|
|
|
.. _CollapsibleSectionStandard:
|
|
|
|
CollapsibleSection Standard
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
:syntax:
|
|
|
|
::
|
|
|
|
{% UICollapsibleSection Standard {sTitle:'value', sId:'value'} %}
|
|
Content Goes Here
|
|
{% EndUICollapsibleSection %}
|
|
|
|
:parameters:
|
|
|
|
+--------+--------+-----------+------+--+
|
|
| sTitle | string | mandatory | | |
|
|
+--------+--------+-----------+------+--+
|
|
| sId | string | optional | NULL | |
|
|
+--------+--------+-----------+------+--+
|
|
|
|
CollapsibleSection 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 | relative path of a CSS file to add |
|
|
+-------------------+----------+------------------------------------------------------------+
|
|
| AddDeferredBlock | iUIBlock | |
|
|
+-------------------+----------+------------------------------------------------------------+
|
|
| AddHtml | string | |
|
|
+-------------------+----------+------------------------------------------------------------+
|
|
| AddJsFileRelPath | string | relative path of a JS file to add |
|
|
+-------------------+----------+------------------------------------------------------------+
|
|
| 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 |
|
|
+-------------------+----------+------------------------------------------------------------+
|
|
| OpenedByDefault | bool | |
|
|
+-------------------+----------+------------------------------------------------------------+
|
|
| SubBlocks | array | |
|
|
+-------------------+----------+------------------------------------------------------------+
|
|
|
|
----
|
|
|
|
.. include:: /manual/Component/CollapsibleSection/CollapsibleSectionFooter.rst
|