* @param _isNativeHtmlTable Whether the sticky logic should be based on a table * that uses the native ` ` element. * @param _stickCellCss The CSS class that will be applied to every row/cell that has * sticky positioning applied. * @param direction The directionality conte
(
private _isNativeHtmlTable: boolean,
private _stickCellCss: string,
private _isBrowser = true,
private readonly _needsPositionStickyOnElement = true,
public direction: Direction,
private readonly _positionListener: StickyPositioningListener | null,
private readonly _tableInjector: Injector,
)
| 59 | * @param _tableInjector The table's Injector. |
| 60 | */ |
| 61 | constructor( |
| 62 | private _isNativeHtmlTable: boolean, |
| 63 | private _stickCellCss: string, |
| 64 | private _isBrowser = true, |
| 65 | private readonly _needsPositionStickyOnElement = true, |
| 66 | public direction: Direction, |
| 67 | private readonly _positionListener: StickyPositioningListener | null, |
| 68 | private readonly _tableInjector: Injector, |
| 69 | ) { |
| 70 | this._borderCellCss = { |
| 71 | 'top': `${_stickCellCss}-border-elem-top`, |
| 72 | 'bottom': `${_stickCellCss}-border-elem-bottom`, |
| 73 | 'left': `${_stickCellCss}-border-elem-left`, |
| 74 | 'right': `${_stickCellCss}-border-elem-right`, |
| 75 | }; |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Clears the sticky positioning styles from the row and its cells by resetting the `position` |
nothing calls this directly
no outgoing calls
no test coverage detected