chrometabs.init()


Type Function

Return value none

See also chrometabs.*


Overview

The plugin does not require initialization, you can invoke chrometabs.show() straight away, but initialization helps preloading assets and reduces showing delay.

Syntax

chrometabs.init([params])

params required

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table includes parameters for the call.

listener optional

Boolean. Listener that receives chrometabs event. Use it to know when the plugin is ready to invoke chrometabs.warmup() or chrometabs.newSession() calls.