carbon-components-angular
Version:
Next generation components
80 lines (76 loc) • 2.47 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | progress-bar.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 { TemplateRef } from "@angular/core";
import * as i0 from "@angular/core";
/**
* Get started with importing the module:
*
* ```typescript
* import { ProgressBarModule } from 'carbon-components-angular';
* ```
*
* [See demo](../../?path=/story/components-progress-bar--basic)
*/
export declare class ProgressBar {
/**
* Current value
*/
set value(num: number | undefined);
get value(): number | undefined;
get percentage(): string;
get bigBar(): boolean;
get smallBar(): boolean;
get defaultType(): boolean;
get indentedType(): boolean;
get inlineType(): boolean;
get isFinished(): boolean;
get isError(): boolean;
get indeterminate(): boolean;
static progressBarCounter: number;
id: string;
helperId: string;
/**
* Description of the progress bar
*/
label: string | TemplateRef<any>;
/**
* Current progress textual representation
*/
helperText: string | TemplateRef<any>;
/**
* Maximum value
*/
max: number;
/**
* Alignment variant of the progress bar, default is `default`
*/
type: "default" | "inline" | "indented";
/**
* Current status of the progress bar, default is `active`
*/
status: "active" | "finished" | "error";
/**
* Size of the progress bar, default is `big`
*/
size: "small" | "big";
defaultClass: boolean;
private _value;
isTemplate(value: any): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBar, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBar, "cds-progress-bar, ibm-progress-bar", never, { "value": "value"; "id": "id"; "label": "label"; "helperText": "helperText"; "max": "max"; "type": "type"; "status": "status"; "size": "size"; }, {}, never, never, false>;
}