GetCefBrowserHeadless

From GT-MP
Jump to: navigation, search
GetCefBrowserHeadless
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Returns if the browser is set to headless (not rendering CEF).

Syntax

In Javascript
Client-Side Function

API.getCefBrowserHeadless(Browser browser);

Required Arguments

  • browser parameter input should be in Browser type.


NOTE: This function returns data in bool type.

Usage example

In Javascript
Client-Side Function

API.getCefBrowserHeadless(Browser browser);

References