Home Reference Source
import Introduction from './ui/components/introduction.js'
public class | source

Introduction

Show intro and explain gui elements

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private
private

_stepTmp: number

Method Summary

Public Methods
public

defineIntroStep(selector: string, text: string, position: string)

Defines a intro step, performs check if element exists

public
public
public

Public Constructors

public constructor() source

Private Members

private _introStepsDefined: boolean source

private _stepTmp: number source

Public Methods

public defineIntroStep(selector: string, text: string, position: string) source

Defines a intro step, performs check if element exists

Params:

NameTypeAttributeDescription
selector string

Selector, can be class, id or element, first element picked

text string

The text to show for the element

position string

Where to show the intro for the element, either 'left', 'right', 'top' or 'bottom'

public defineIntroSteps() source

public disableIntroForUser() source

public showIntroduction() source