Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 988 Bytes

table-plugin.tableconfig.displaymode.md

File metadata and controls

15 lines (9 loc) · 988 Bytes

Home > @native-html/table-plugin > TableConfig > displayMode

TableConfig.displayMode property

Determine how the width of the table is constrained (or not).

  • normal: the table will have no peculiar constrain on width or maxWidth.
  • embedded: the table acts like a width-constrained embedded (React Native Render HTML RFC001), with maxWidth determined by contentWidth and computeEmbeddedMaxWidth.
  • expand: like embedded, but with width set to maxWidth. This can be useful to have a center-aligned table on wide screens.

Signature:

displayMode?: 'normal' | 'embedded' | 'expand';