Function

onTabShow

(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
onTabShow(() => {
    burp();
});

returns The event controller.

since v3001.0

group Events

kaplay logo

Components

Miscellaneous