The main object exported by the
tabris module hosting all the classes and singletons it provides (not listed here). It also provides low-level framework API required for bootstrapping and for some extensions/plug-ins. Caution!: These APIs interact with the internals of the framework. Only use them if you know what you are doing.
This object is also available in the global namespace as
tabris. For technical reasons the low-level API is available in TypeScript only when the object is explicitly imported.
Adds a module to the internal module registry with an id relative to the app directory.
Initializes the framework and triggers the ‘start’ event.
||No||The client bridge provided by the native client.|
_notify(cid, eventType, eventData)
NativeObject with the given
cid. Triggers a flush event afterwards. Errors are caught and logged to the console. Returns true if the event object has a
defaultPrevented field set to true.
Sends all queued native operations to the native client and triggers the ‘flush’ event.
Indicates that the framework has been fully initialized. This happens before the main application module is parsed and executed, so it is only relevant for framework and plug-in developers.
The version of the tabris module.
This property can only be set via constructor. Once set, it cannot change anymore.
Fired after the client bridge has been installed but before
started has been set to
Fired after a native event has been processed.
Fired when a message is about to be printed to the console.
Fired before certain native operations to render all modified layoutData objects.
Fired when the started property has changed.
||The new value of started.|