mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.8 KiB
28 lines
1.8 KiB
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
import { ValueAccessor } from '@ionic/angular/common';
|
|
import type { ToggleChangeEventDetail, Components } from '@ionic/core/components';
|
|
import * as i0 from "@angular/core";
|
|
export declare class IonToggle extends ValueAccessor {
|
|
protected z: NgZone;
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
writeValue(value: boolean): void;
|
|
handleIonChange(el: HTMLIonToggleElement): void;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonToggle, never>;
|
|
static ɵcmp: i0.ɵɵComponentDeclaration<IonToggle, "ion-toggle", never, { "checked": { "alias": "checked"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enableOnOffLabels": { "alias": "enableOnOffLabels"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
}
|
|
export declare interface IonToggle extends Components.IonToggle {
|
|
/**
|
|
* Emitted when the user switches the toggle on or off. Does not emit
|
|
when programmatically changing the value of the `checked` property.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<ToggleChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the toggle has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the toggle loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
}
|
|
|