primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
67 lines (66 loc) • 2.33 kB
TypeScript
import { BaseComponent } from 'primeng/basecomponent';
import { SkeletonStyle } from './style/skeletonstyle';
import * as i0 from "@angular/core";
import * as i1 from "primeng/api";
/**
* Skeleton is a placeholder to display instead of the actual content.
* @group Components
*/
export declare class Skeleton extends BaseComponent {
/**
* Class of the element.
* @group Props
*/
styleClass: string | undefined;
/**
* Inline style of the element.
* @group Props
*/
style: {
[klass: string]: any;
} | null | undefined;
/**
* Shape of the element.
* @group Props
*/
shape: string;
/**
* Type of the animation.
* @gruop Props
*/
animation: string;
/**
* Border radius of the element, defaults to value from theme.
* @group Props
*/
borderRadius: string | undefined;
/**
* Size of the skeleton.
* @group Props
*/
size: string | undefined;
/**
* Width of the element.
* @group Props
*/
width: string;
/**
* Height of the element.
* @group Props
*/
height: string;
_componentStyle: SkeletonStyle;
containerClass(): {
'p-skeleton p-component': boolean;
'p-skeleton-circle': boolean;
'p-skeleton-animation-none': boolean;
};
get containerStyle(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<Skeleton, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<Skeleton, "p-skeleton", never, { "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
}
export declare class SkeletonModule {
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<SkeletonModule, never, [typeof Skeleton, typeof i1.SharedModule], [typeof Skeleton, typeof i1.SharedModule]>;
static ɵinj: i0.ɵɵInjectorDeclaration<SkeletonModule>;
}