diff --git a/src/components/loading/loading.ts b/src/components/loading/loading.ts index 4a9840f..00ba9de 100644 --- a/src/components/loading/loading.ts +++ b/src/components/loading/loading.ts @@ -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)