new CheckBox()
A class which provides checkbox.
Parameters:
| Name | Type | Description |
|---|---|---|
option. |
Object | An object containing the parameters for initializing this component. Refer to the details in caph.ui.base.Component constructor. |
- Since:
-
- 2.0.0
Example
var Checkbox = caph.require('stripe.ui.component.Checkbox');
var checkbox = new Checkbox({
hasBox: false,
checked: true,
dom: {
style: {
marginTop: '5px',
marginLeft: '5px',
position: 'relative',
float: 'left'
}
}
});
Extends
- caph.ui.base.component.Checkbox