attach - returns
Possible return items that comes from attach
method.
innerElement
Inner element of wrapped scrollable container, see example output code in example after mount section
Type
ts
innerElement: HTMLElement;
outerElement
Outer element of wrapped scrollable container, see example output code in example after mount section
Type
ts
outerElement: HTMLElement;
detach
Method that can be used to destroy/detach light-scrollbar from your element
Type
ts
detach: () => void