UNPKG

@porsche-design-system/components-angular

Version:

Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.

20 lines (19 loc) 1.42 kB
import { EventEmitter } from '@angular/core'; import { BaseComponentWithTheme } from '../../utils'; import type { BreakpointCustomizable, SwitchAlignLabel, Theme } from '../types'; import * as i0 from "@angular/core"; export declare class PSwitch extends BaseComponentWithTheme { alignLabel?: BreakpointCustomizable<SwitchAlignLabel>; checked?: boolean; compact?: boolean; disabled?: boolean; hideLabel?: BreakpointCustomizable<boolean>; loading?: boolean; stretch?: BreakpointCustomizable<boolean>; theme?: Theme; /** @deprecated */ switchChange: EventEmitter<CustomEvent<import("../types").SwitchUpdateEvent>>; update: EventEmitter<CustomEvent<import("../types").SwitchUpdateEvent>>; static ɵfac: i0.ɵɵFactoryDeclaration<PSwitch, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PSwitch, "p-switch,[p-switch]", never, { "alignLabel": { "alias": "alignLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "stretch": { "alias": "stretch"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "switchChange": "switchChange"; "update": "update"; }, never, ["*"], false, never>; }