Hierarchy (View Summary)

Constructors

Properties

activeTooltips: any[] = []
button?: HTMLElement
callbacks: Callback[] = []
closeButton?: HTMLElement
componentManager: ComponentManager
configManager: ConfigManager
displayStyle?: string
div?: HTMLElement
facebookLogo: string = FacebookLogo
header?: HTMLElement
linkedInLogo: string = LinkedInLogo
loading: boolean = true
mailLogo: string = MailLogo
name: string
pos1: number = 0
pos2: number = 0
pos3: number = 0
pos4: number = 0
qrCode?: string
rendered: boolean = false
shadow: ShadowRoot
shareLink?: string
shareManager: ShareManager
stateManager: StateManager
styleUrl: null | string = null
styleUrls: string[] = ...
success: boolean = true
template: Hole | () => Hole
templateUrl: string = './template.html'
timeoutId?: Timeout
twitterLogo: string = TwitterLogo
urlShortener?: IUrlShortener

Accessors

Methods

  • Deserialize an element and set the current element state to the deserialized one

    Parameters

    • _serializedElement: unknown

      The element serialization as returned by the serialize method

    Returns void

  • Convert the string in parameter with uHtml and return it. This allows to convert a string with html in a right html object. For example, htmlUnsafe('

    ') will return an html div object.

    Parameters

    • str: string

    Returns Hole

  • In the templates, sometimes for accessibility reasons, we have to support the KeyDown Event In those case, we often juste want to do the same as the click event when Enter or Space is pressed Then this method can be used : it just calls the click event on the same element

    Parameters

    • e: KeyboardEvent

    Returns void