@sqzrcc
2015-07-03T05:33:41.000000Z
字数 576
阅读 1546
| 选项 | 可能的值 | 描述 |
|---|---|---|
| type | BootstrapDialog.TYPE_DEFAULT BootstrapDialog.TYPE_INFO BootstrapDialog.TYPE_PRIMARY BootstrapDialog.TYPE_SUCCESS BootstrapDialog.TYPE_WARNING BootstrapDialog.TYPE_DANGER |
参考bootstrap的样式按钮 boostrap's button |
| size | BootstrapDialog.SIZE_NORMAL BootstrapDialog.SIZE_WIDE BootstrapDialog.SIZE_LARGE |
- |
| cssClass | - | 需要在生成的dialog上添加的class属性 |
| title | String or Object(html) | dialog的标题 |
| message | String or Object(html) | dialog 的主题内容 |
| buttons | array | - |
| closable | true or false | 如果设置为true,则可以使用一下几个方式来关闭dialog: * 点击头部的关闭按钮 * 点击对话框外 * 按ESC |
| spinicon | icon class name | - |
| data | key-value | 数据绑定到对话框 |
| onshow | function | 如果提供,那将会在dialog弹出的时候调用 |