Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 2.79 KB

File metadata and controls

40 lines (29 loc) · 2.79 KB

Home > @native-html/table-plugin

table-plugin package

Functions

Function Description
cssRulesFromSpecs(specs) Create css rules from a specification object.
useHtmlTableProps({ style, tnode }, tableConfig) Extract props for the HTMLTable component from renderer function arguments. This function is especially usefull for custom table renderers.

Interfaces

Interface Description
HTMLTableBaseProps Base props for HTMLTable original and custom components.
HTMLTableProps Props for HTMLTable component.
HTMLTableStats An object holding information on the table shape.
TableAccurateContentHeightState This content height state appears when the real table height is available, after the DOM has been mounted in the WebView.
TableConfig This object defines how the table component can be customized.
TableHeuristicContentHeightState This content height state is available on mount, before the real height is known from the DOM.
TableStyleSpecs An object describing how to generate styles. See cssRulesFromSpecs().

Variables

Variable Description
defaultTableStylesSpecs Default styles attributes.
HTMLTable A component capable of rendering a html string which root tag is a table tag. This component should not be used directly, except with custom renderers.
tableModel The model to attach to custom table renderers.
TableRenderer The renderer component for the table element. This renderer is fully scalable, and will adjust to contentWidth and computeEmbeddedMaxWidth. It also features onLinkPress.

Type Aliases

Type Alias Description
TableContentHeightState An object describing the present knowledge of content height.