Attributes
-
class="accToggle" :
The bootstrap class name that specifies an accessible toggle.
-
role="button" :
The ARIA role that specifies a toggle button control.
To ensure accessibility, this element must not contain any other active elements.
-
data-src :
The resource path and pointer to the ID attribute of the toggle content container element.
If set, data-internal should be blank or not included.
-
data-internal :
The ID attribute of the toggle content container element within the same document.
Syntax of toggles within the same document:
<div class="hidden">
<div id="toggleIdContent">
...
</div>
...
</div>
If data-internal is set, data-src should be blank or not included.
-
data-insert :
The ID attribute of the container element where toggle content will be inserted.
-
data-defaultopen="true" :
Specifies that the referenced toggle will open automatically.
-
data-toggleclass :
The class name that will be toggled when open.
-
id :
The unique ID of the element.
This value is also registered as the ID of the toggle AccDC Object, making it possible to invoke the object programmatically.
$A.reg.uniqueID.open();
// All other AccDC API properties and methods are similarly available.