Sets or gets whether the HTML Component displays scrollbars.

Setting the scrolling property sets what happens when the content in the HTML Component is larger than the size of the component.

The value can be set to:

  • "auto": Scrollbars are displayed only if needed. (This is the default.)
  • "yes": Scrollbars are always shown, even if they are not needed.
  • "no": Scrollbars are never shown, even if they are needed).

Getting the scrolling property returns which ScrollType the component is set to use.

Was this helpful?