Stay organized with collections Save and categorize content based on your preferences.

blockly > Scrollbar > updateDisplay_

Scrollbar.updateDisplay_() method

Update visibility of scrollbar based on whether it thinks it should be visible and whether its containing workspace is visible. We cannot rely on the containing workspace being hidden to hide us because it is not necessarily our parent in the DOM.

Signature:

updateDisplay_(): void;

Returns:

void