3.13.1 • Published 2 months ago
@conectate/ct-dialog v3.13.1
ct-card-dialog
Properties
Property | Attribute | Type |
---|---|---|
dialog | CtDialog | |
el | el |
ct-confirm
Properties
Property | Attribute | Type | Default |
---|---|---|---|
body | body | string | "" |
cancel | cancel | string | |
dialog | CtDialog | ||
neutral | neutral | string | |
ok | ok | string | "OK" |
reject | (reason?: any) => void | ||
solve | (param: boolean \| null \| undefined) => void | ||
ttl | ttl | string | "Title" |
Methods
Method | Type | Description |
---|---|---|
cancelbtn | (e: Event): Promise<void> | |
computeBody | (body: string): string | |
computeBtns | (ok: string, neutral: string, cancel: string): void | |
neutralbtn | (e: Event): Promise<void> | |
okbtn | (e: Event): Promise<void> | |
onResult | (): Promise<boolean \| undefined> |
ct-confirm-cupertino
Properties
Property | Attribute | Type | Default |
---|---|---|---|
body | body | string | "" |
cancel | cancel | string | |
dialog | CtDialog | ||
neutral | neutral | string | |
ok | ok | string | "OK" |
reject | (reason?: any) => void | ||
solve | (param: boolean \| null \| undefined) => void | ||
ttl | ttl | string | "Title" |
Methods
Method | Type | Description |
---|---|---|
cancelbtn | (e: Event): Promise<void> | |
computeBody | (body: string): string | |
computeBtns | (ok: string, neutral: string, cancel: string): void | |
neutralbtn | (e: Event): Promise<void> | |
okbtn | (e: Event): Promise<void> | |
onResult | (): Promise<boolean \| undefined> |
ct-dialog
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
animation | animation | animationSupported | "normal" | |
ariaModal | aria-modal | string | "true" | |
dialogID | dialogID | string | "new Date().getTime() + \"\"" | |
disableHistoryAPI | boolean | false | ||
element | element | HTMLElement \| undefined | ||
finish | () => void | |||
free | free | object | ||
history | history | ConectateHistory | Entrada para el History API de tipe {title,href} | |
mappingContainer | Promise<any> \| undefined | |||
preferences | preferences | array | [] | |
resolveMapping | (value?: {} \| PromiseLike<{}> \| undefined) => void | |||
role | role | string | "alert" |
Methods
Method | Type | Description |
---|---|---|
closeDialog | (e?: Event \| null \| undefined, type?: string \| undefined): Promise<unknown> | |
computeAnimation | (anim: animationSupported): "anim-normal" \| "anim-cupertino" \| "anim-slide-left" \| "anim-slide-right" \| "anim-bottom-sheet" | |
enableHistoryAPI | (value?: boolean): this | |
fullscreenMode | (): this | |
fullsizeMode | (): this | |
getStylesPref | (pref: DialogSizePreferences[]): TemplateResult[] | |
init | (): Promise<void> | |
setAnimation | (anim: animationSupported): this |
Events
Event | Type |
---|---|
on-close | CustomEvent<{ event: Event \| null \| undefined; }> |
ct-loading
Properties
Property | Attribute | Type | Default |
---|---|---|---|
dialog | CtDialog | ||
ttl | ttl | string | "Loading" |
Methods
Method | Type | Description |
---|
ct-promp
Properties
Property | Attribute | Type | Default |
---|---|---|---|
body | body | string | "" |
cancel | cancel | string | "Cancel" |
dialog | CtDialog | ||
neutral | neutral | string | "" |
ok | ok | string | "OK" |
reject | (reason?: any) => void | ||
solve | (param?: string \| null \| undefined) => void | ||
ttl | ttl | string | "Title" |
Methods
Method | Type | Description |
---|---|---|
cancelbtn | (e: Event): Promise<void> | |
computeBtns | (ok: string, neutral: string, cancel: string): void | |
okbtn | (e: Event): Promise<void> | |
onResult | (): Promise<string \| undefined> |
3.13.1
2 months ago
3.12.9
4 months ago
3.9.3
9 months ago
3.12.4
7 months ago
3.9.0
9 months ago
3.8.1
10 months ago
3.9.5
9 months ago
3.12.8
6 months ago
3.9.4
9 months ago
3.11.0
8 months ago
3.8.0
10 months ago
3.10.0
8 months ago
3.12.1
8 months ago
3.12.0
8 months ago
3.11.1
8 months ago
3.7.6
11 months ago
3.7.5
1 year ago
3.7.4
1 year ago
3.7.3
2 years ago
3.7.2
2 years ago
3.7.1
2 years ago
3.7.0
2 years ago
3.6.4
2 years ago
3.6.0
2 years ago
3.6.3
2 years ago
3.5.12
2 years ago
3.5.11
2 years ago
3.5.7
3 years ago
3.5.5
3 years ago
3.5.8
3 years ago
3.5.1
3 years ago
3.5.0
3 years ago
3.5.4
3 years ago
3.4.0
3 years ago
3.3.0
3 years ago
3.2.1
3 years ago
3.2.0
3 years ago
3.1.0
3 years ago
3.0.0
3 years ago
1.4.1
3 years ago
1.4.0
3 years ago
1.3.0
3 years ago