Merge pull request #210 in YR/star-web-components from add-loading-option-size to master
* commit '73cd5c1f4b80fe40049f5abeea082c6a82d25c58': 添加loading可选size判断
This commit is contained in:
commit
cd1efe5713
|
@ -81,6 +81,10 @@ export class StarLoading extends StarBaseElement {
|
|||
this
|
||||
}
|
||||
|
||||
if (opts.size) {
|
||||
this.size = opts.size
|
||||
}
|
||||
|
||||
this.canCancel = !!opts.canCancel
|
||||
this.cancelCallback = opts.cancelCallback
|
||||
this.observeStatus(opts)
|
||||
|
|
Loading…
Reference in New Issue