adjustment
This commit is contained in:
@ -11,6 +11,10 @@
|
||||
<p>
|
||||
复选框初始参数,结构为
|
||||
<pre>interface CheckboxOptions {
|
||||
className?: string;
|
||||
enabled?: boolean;
|
||||
name?: string;
|
||||
tabIndex?: Number;
|
||||
type?: string;
|
||||
label?: string;
|
||||
checked?: boolean;
|
||||
@ -29,6 +33,14 @@
|
||||
<p>
|
||||
复选框默认是否可用
|
||||
</p>
|
||||
<h4>name?: string</h4>
|
||||
<p>
|
||||
复选框或单选框的 name
|
||||
</p>
|
||||
<h4>tabIndex?: Number</h4>
|
||||
<p>
|
||||
复选框的 tabindex
|
||||
</p>
|
||||
<h4>type?: string</h4>
|
||||
<p>
|
||||
复选框图标的样式,可选值目前有 <code>fa-regular</code>、<code>fa-light</code>、<code>fa-solid</code>
|
||||
@ -65,6 +77,12 @@
|
||||
<p>
|
||||
复选框改变时触发的事件
|
||||
</p>
|
||||
<h2>createRadiobox</h2>
|
||||
<code>function createRadiobox(opts?: CheckboxOptions): HTMLElement</code>
|
||||
<h3>opts?: CheckboxOptions</h3>
|
||||
<p>
|
||||
单选框初始参数,结构如上
|
||||
</p>
|
||||
<h2>resolveCheckbox</h2>
|
||||
<code>function resolveCheckbox(container?: HTMLElement, legacy?: boolean): HTMLElement</code>
|
||||
<h3>container?: HTMLElement</h3>
|
||||
|
Reference in New Issue
Block a user