Skip to main content
cngx-src documentation

withHighlightOnHover

Functiondata-display/treetable

projects/data-display/treetable/treetable.token.ts

Description#

Feature: row highlight on mouse-hover.

The library default for highlightRowOnHover is false, so calling withHighlightOnHover() opts in across the app. Pass false explicitly to be loud about the off state (e.g. when overlaying on top of an earlier provideTreetable(withHighlightOnHover()) in a nested scope).

Signature#

withHighlightOnHover(enabled: unknown)

Parameters#

@paramenabledunknown= true
  • Hover-highlight on/off. Default true.

Returns#

TreetableFeature