4.2.6 • Published 9 months ago

@conectate/ct-dialog v4.2.6

Weekly downloads
9
License
BSD-3-Clause
Repository
github
Last release
9 months ago

ct-card-dialog

Properties

PropertyAttributeType
dialogCtDialog
elel

ct-confirm

Properties

PropertyAttributeTypeDefault
bodybodystring""
cancelcancelstring
dialogCtDialog
neutralneutralstring
okokstring"OK"
reject(reason?: any) => void
solve(param: boolean \| null \| undefined) => void
ttlttlstring"Title"

Methods

MethodTypeDescription
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

PropertyAttributeTypeDefault
bodybodystring""
cancelcancelstring
dialogCtDialog
neutralneutralstring
okokstring"OK"
reject(reason?: any) => void
solve(param: boolean \| null \| undefined) => void
ttlttlstring"Title"

Methods

MethodTypeDescription
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

PropertyAttributeTypeDefaultDescription
animationanimationanimationSupported"normal"
ariaModalaria-modalstring"true"
dialogIDdialogIDstring"new Date().getTime() + \"\""
disableHistoryAPIbooleanfalse
elementelementHTMLElement \| undefined
finish() => void
freefreeobject
historyhistoryConectateHistoryEntrada para el History API de tipe {title,href}
mappingContainerPromise<any> \| undefined
preferencespreferencesarray[]
resolveMapping(value?: {} \| PromiseLike<{}> \| undefined) => void
rolerolestring"alert"

Methods

MethodTypeDescription
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

EventType
on-closeCustomEvent<{ event: Event \| null \| undefined; }>

ct-loading

Properties

PropertyAttributeTypeDefault
dialogCtDialog
ttlttlstring"Loading"

Methods

MethodTypeDescription

ct-promp

Properties

PropertyAttributeTypeDefault
bodybodystring""
cancelcancelstring"Cancel"
dialogCtDialog
neutralneutralstring""
okokstring"OK"
reject(reason?: any) => void
solve(param?: string \| null \| undefined) => void
ttlttlstring"Title"

Methods

MethodTypeDescription
cancelbtn(e: Event): Promise<void>
computeBtns(ok: string, neutral: string, cancel: string): void
okbtn(e: Event): Promise<void>
onResult(): Promise<string \| undefined>
4.2.6

9 months ago

4.2.5

9 months ago

4.2.3

10 months ago

4.0.0

12 months ago

4.2.1

11 months ago

4.2.0

11 months ago

4.1.4

11 months ago

4.1.3

11 months ago

4.1.5

11 months ago

4.1.0

11 months ago

4.1.1

11 months ago

3.13.1

1 year ago

3.12.9

1 year ago

3.9.3

2 years ago

3.12.4

2 years ago

3.9.0

2 years ago

3.8.1

2 years ago

3.9.5

2 years ago

3.12.8

2 years ago

3.9.4

2 years ago

3.11.0

2 years ago

3.8.0

2 years ago

3.10.0

2 years ago

3.12.1

2 years ago

3.12.0

2 years ago

3.11.1

2 years ago

3.7.6

2 years ago

3.7.5

2 years ago

3.7.4

2 years ago

3.7.3

3 years ago

3.7.2

3 years ago

3.7.1

3 years ago

3.7.0

3 years ago

3.6.4

3 years ago

3.6.0

3 years ago

3.6.3

3 years ago

3.5.12

4 years ago

3.5.11

4 years ago

3.5.7

4 years ago

3.5.5

4 years ago

3.5.8

4 years ago

3.5.1

4 years ago

3.5.0

4 years ago

3.5.4

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago