carbon-components-angular
Version:
Next generation components
55 lines (51 loc) • 1.7 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | loading.component.d.ts
*
* Copyright 2014, 2024 IBM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { I18n } from "carbon-components-angular/i18n";
import * as i0 from "@angular/core";
/**
* Get started with importing the module:
*
* ```typescript
* import { LoadingModule } from 'carbon-components-angular';
* ```
*
* [See demo](../../?path=/story/components-loading--basic)
*/
export declare class Loading {
protected i18n: I18n;
/**
* Accessible title for the loading circle.
* Defaults to the `LOADING.TITLE` value from the i18n service.
*/
title: any;
/**
* set to `false` to stop the loading animation
*/
isActive: boolean;
/**
* Specify the size of the button
*/
size: "normal" | "sm";
/**
* Set to `true` to make loader with an overlay.
*/
overlay: boolean;
constructor(i18n: I18n);
static ɵfac: i0.ɵɵFactoryDeclaration<Loading, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<Loading, "cds-loading, ibm-loading", never, { "title": "title"; "isActive": "isActive"; "size": "size"; "overlay": "overlay"; }, {}, never, never, false>;
}