Private
[___(secret)
Because classes are kind of like interfaces, we need "something" to help TS know what a Resource is.
This isn't a real API, but does help with type inference with the SignatureFrom utility above
Optional state that this plugin may or may not choose to use
columns will each have an instance of meta.column. the table will have only one instance of meta.table.
Unique name for the plugin.
Protected
tableStatic
featuresStatic
Optional
requiresStatic
forHelper for specifying column-level configurations for a plugin on headlessTable
's
columns option
Static
withHelper for specifying plugins on headlessTable
with the plugin-level options
Generated using TypeDoc
Table plugins are stateless objects that optionally provide hooks based on what the plugin wishes to modify.
If state is desired, Metadata classes may be provided to manage that state. As a convenience, when the meta classes are instantiated, they'll be given the same
owner
as everything else in the application, so service injection will be available within the meta class instances.A plugin can provide components that the consuming Table can opt in to rendering. (though, often these components will be required to be rendered for the plugin to work)
a
Plugin
has one type argument:Signature - which can provide optional information about the Meta/State and Options the plugin can take
Any particular plugin instantiation will have at most 1 instance of their TableMeta and
n
instances of their ColumnMeta, wheren
is at most the number of columns.