chrometabs.show()


Type Function

Return value none

See also chrometabs.*


Overview

Asynchronously fetches app link information that might have been stored for use after installation of the app.

Syntax

	chrometabs.show(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.

url required

String. URL to load.

shareMenu optional

Boolean. If true - show the standard share menu button.

urlBarHiding optional

Boolean. If true - hide url bar when scrolling.

instantApps optional

Boolean. If true - allow loading of instant apps.

showTitle optional

Boolean. If true - show the page title in the url bar.

startAnimation optional

String. Showing animation, 'slide_right' or 'fade'.

exitAnimation optional

String. Closing animation, same options as for startAnimation.

toolbarColor optional

Table. Color of the toolbar, a table with RGB values, e.g. {0.9, 0.1, 0.1}.

secondaryToolbarColor optional

Table. Secondary color of the toolbar, a table with RGB values, e.g. {0.9, 0.1, 0.1}.