Skip to content

ShepherdBase

Extends

Constructors

new ShepherdBase()

new ShepherdBase(): ShepherdBase

Returns

ShepherdBase

Overrides

Evented.constructor

Defined in

tour.ts:95

Properties

activeTour?

optional activeTour: null | Tour

Defined in

tour.ts:91


bindings

bindings: Bindings

Inherited from

Evented.bindings

Defined in

evented.ts:11


Step

Step: typeof Step

Defined in

tour.ts:92


Tour

Tour: typeof Tour

Defined in

tour.ts:93

Methods

off()

off(event, handler?): ShepherdBase

Removes an event listener for the given event string.

Parameters

event: string

handler?: AnyHandler

Returns

ShepherdBase

Inherited from

Evented.off

Defined in

evented.ts:53


on()

on(event, handler, ctx?, once?): ShepherdBase

Adds an event listener for the given event string.

Parameters

event: string

handler: AnyHandler

ctx?: unknown

once?: boolean = false

Returns

ShepherdBase

Inherited from

Evented.on

Defined in

evented.ts:22


once()

once(event, handler, ctx?): ShepherdBase

Adds an event listener that only fires once for the given event string.

Parameters

event: string

handler: AnyHandler

ctx?: unknown

Returns

ShepherdBase

Inherited from

Evented.once

Defined in

evented.ts:42


trigger()

trigger(event, …args): ShepherdBase

Triggers an event listener for the given event string.

Parameters

event: string

• …args: any[]

Returns

ShepherdBase

Inherited from

Evented.trigger

Defined in

evented.ts:78