Function

onShow

(action: () => void): KEventController

Register an event that runs when tab is shown.

param action- The function that is run when the tab is shown.

// user has returned to this tab
onShow(() => {
    burp();
});

returns The event controller.

since v3001.0

group Events

kaplay logo

Components