Jump to content

Modal: Difference between revisions

No edit summary
Fix Modal documentation error (getTabData)
 
(2 intermediate revisions by 2 users not shown)
Line 167: Line 167:
Show tab on the tab bar.
Show tab on the tab bar.


==== modal.getTabData(id: <code>Number</code>): <code>Number | null</code> ====
==== modal.getTabData(id: <code>Number</code>): <code>TabContext | null</code> ====
Return raw tab data.
Return raw tab data.


Line 177: Line 177:


=== Interfaces ===
=== Interfaces ===
CheckboxObj:<syntaxhighlight lang="typescript">
 
==== CheckboxObj ====
<syntaxhighlight lang="typescript">
Object {
Object {
     elm: HTMLLabelElement,
     elm: HTMLLabelElement,
Line 183: Line 185:
     children: Array<CheckboxObj>
     children: Array<CheckboxObj>
}
}
</syntaxhighlight>EntryObj:<syntaxhighlight lang="typescript">
</syntaxhighlight>
 
==== EntryObj ====
<syntaxhighlight lang="typescript">
Object {
Object {
     input: HTMLInputElement
     input: HTMLInputElement
}
}
</syntaxhighlight>FormInputObj:<syntaxhighlight lang="typescript">
</syntaxhighlight>
 
==== FormInputObj ====
<syntaxhighlight lang="typescript">
Object {
Object {
     input: HTMLInputElement,
     input: HTMLInputElement,
Line 196: Line 204:
label: HTMLLabelElement
label: HTMLLabelElement
}
}
</syntaxhighlight>TabContext:<syntaxhighlight lang="typescript">
</syntaxhighlight>
 
==== TabContext ====
<syntaxhighlight lang="typescript">
Object {
Object {
id: Number,
id: Number,
Line 240: Line 251:
modal.open();
modal.open();
</syntaxhighlight>
</syntaxhighlight>
[[Category:Documentation]]