Home Reference Source Repository
import DHEvent from 'dh3dlib/js/base/DHEvent.js'
public class | source

DHEvent

DHEvent class

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public

delete(): void

delete event

public

get event callback function

public

setEventCallback(func: Function): void

set event callback function

public

start(): void

start event

Public Constructors

public constructor source

constructor

Public Methods

public delete(): void source

delete event

Return:

void

public getEventCallback(): Function source

get event callback function

Return:

Function

callback function

public setEventCallback(func: Function): void source

set event callback function

Params:

NameTypeAttributeDescription
func Function

callback function

Return:

void

public start(): void source

start event

Return:

void