Interface ObnizOptions

Hierarchy

  • ObnizOptions

Properties

access_token?: null | string

If you specified access_token to your obniz Board. set it's key to this parameter.

Default

null
auto_connect?: boolean

obniz.js automatically connect to cloud API after instantiate soon. falset to disable it. The interval of auto connect become longer.

Default

true
binary?: boolean

compressed format. not json. It set to false, then local_connect can't be used

Default

true
debug_dom_id?: string

In HTML, online status and debug info will be showed in DOM which has this id.

Default

'obniz-debug'
local_connect?: boolean

obniz.js try to connect locally after cloud api established if possible. true will be ignored when binary was set to false

Default

true
obnizid_dialog?: boolean

With 'true', create input interface of obniz id If non-obniz Id string was passed on create Obniz instance. (HTML only)

Default

true
reset_obniz_on_ws_disconnection?: boolean

With 'true', obniz cloud will reset your obniz Board after all websocket connection to an obniz Board was closed.

Default

true

Generated using TypeDoc