Socket
Socket
Sign inDemoInstall

@conectate/ct-dialog

Package Overview
Dependencies
Maintainers
0
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conectate/ct-dialog

HTML dialog made with Web Components


Version published
Weekly downloads
12
decreased by-90.32%
Maintainers
0
Weekly downloads
 
Created
Source

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>

Keywords

FAQs

Package last updated on 10 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc