Skip to main content
Requires usertour.js 0.0.20 or later.
The isResourceCenterOpen() method returns whether the resource center panel is currently expanded. Use this to read the panel’s state from your own UI — for example, to keep a help button’s “active” indicator in sync with the panel.

Parameters

None.

Returns

boolean — Returns true if the resource center is expanded, false if it is collapsed or if no resource center is currently active.

Example

Make sure to call init() before using any other Usertour.js methods.