@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
20 lines (19 loc) • 719 B
TypeScript
export declare class ScrollbarStyleHandler {
private readonly _styleElementId;
private _scrollbarEnabled;
private _isCustomScrollbarStyleEnabled;
constructor();
get scrollbarEnabled(): boolean;
set scrollbarEnabled(value: boolean);
get isCustomScrollbarStyleEnabled(): boolean;
set isCustomScrollbarStyleEnabled(value: boolean);
private _updateScrollbarStyle;
private _setNoScrollStyle;
private _setCustomScrollStyle;
private _setDefaultScrollStyle;
private _ensureStyleTagIsInDOM;
private _ensureStyleTagRemovedFromDOM;
private _buildNoScrollStyleElement;
private _buildCustomScrollStyleElement;
private _buildEmptyStyleElement;
}