- Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsmart.powerbutton.d.ts
68 lines (68 loc) · 3.05 KB
/
smart.powerbutton.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import{PowerButton}from'./../index';
import{Animation,ClickMode}from'./../index';
import{AfterViewInit,ElementRef,OnInit,OnChanges,OnDestroy,SimpleChanges,EventEmitter}from'@angular/core';
import{BaseElement}from'./smart.element';
export{Animation,ClickMode,ElementRenderMode}from'./../index';
export{Smart}from'./smart.element';
export{PowerButton}from'./../index';
import{ControlValueAccessor}from'@angular/forms';
exportdeclareclassPowerButtonComponentextendsBaseElementimplementsOnInit,AfterViewInit,OnDestroy,OnChanges,ControlValueAccessor{
constructor(ref: ElementRef<PowerButton>);
privateeventHandlers;
nativeElement: PowerButton;
/** @description Creates the component on demand.
* @param properties An optional object of properties, which will be added to the template binded ones.
*/
createComponent(properties?: {}): any;
/**
* @description
* The registered callback function called when a change event occurs on the form elements.
*/
_onChange: (value: any)=>void;
/**
* @description
* The registered callback function called when a blur event occurs on the form elements.
*/
_onTouched: ()=>any;
/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
animation: Animation|string;
/** @description Sets or gets the check state. */
checked: boolean;
/** @description Sets the click mode of the button. */
clickMode: ClickMode|string;
/** @description Enables or disables the power button. */
disabled: boolean;
/** @description Sets or gets the language. Used in conjunction with the property messages. */
locale: string;
/** @description Callback, related to localization module. */
localizeFormatFunction: any;
/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
messages: any;
/** @description Sets or gets the widget's name. */
name: string;
/** @description If the custom element is readonly, it cannot be interacted with. */
readonly: boolean;
/** @description Determines the theme. Theme defines the look of the element */
theme: string;
/** @description If is set to true, the element cannot be focused. */
unfocusable: boolean;
/** @description Sets or gets the widget's value. */
value: string;
/** @description This event is triggered when the widget is checked/unchecked.
* @param event. The custom event. */
onChange: EventEmitter<CustomEvent>;
readonlyisRendered: boolean;
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
_initialChange: boolean;
ngValue: any;
writeValue(value: any): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
ngOnChanges(changes: SimpleChanges): void;
/** @description Add event listeners. */
privatelisten;
/** @description Remove event listeners. */
privateunlisten;
}