import { KbqTableModule } from '@koobiq/components/table';

KbqTable

componentСкопировать ссылку на KbqTable

A styling layer over a native <table>: it applies the library's spacing, typography and colors and leaves the semantics to the platform. Sorting, resizing and virtual scrolling are out of scope — only standard HTML table capabilities are available.

@Component({ selector: 'table[kbq-table]', exportAs: 'kbqTable' })
class KbqTable {
readonly border = input<boolean>(false);
readonly disableHover = input<boolean>(false);
readonly stickyHeader = input<boolean>(false);
}
borderinputСкопировать ссылку на borderboolean

Whether a line is drawn under every body row. Toggles the kbq-table_bordered class. Defaults to false.

disableHoverinputСкопировать ссылку на disableHoverboolean

Whether the background change on row hover is suppressed. Toggles the kbq-table_disable-hover class. Use it when rows are not interactive and the highlight would be misleading. Defaults to false.

stickyHeaderinputСкопировать ссылку на stickyHeaderboolean

Whether the header stays visible while the table scrolls. Toggles the kbq-table_sticky-header class. Defaults to false.

Предложения по улучшению
Если вы нашли ошибку или хотите доработать статью, создайте запрос на GitHub.