* feat(table-core): Further improve tree-shaking across features Keep column ordering, column pinning, and row expanding code out of the core bundle, route more cross-feature reads through feature stubs, and stop allocating unused onAfterUpdate wrappers in production memos. * refactor(table-core): register internal cross-feature fns as table APIs Replace init*InstanceData function storage with @internal table APIs registered via assignTableAPIs, route faceting through the getCanGlobalFilter stub, and enforce feature boundaries with import/no-restricted-paths. Regenerate reference docs and fix stale docs config links. ---------
1.4 KiB
| id | title |
|---|---|
| useTable | useTable |
Call Signature
function useTable<TFeatures, TData>(owner, getOptions): Table<TFeatures, TData>;
Defined in: packages/ember-table/declarations/use-table.d.ts:10
Creates an Ember-reactive table.
Pass the containing component (or another Ember destroyable) as the first argument to tie external-atom subscriptions to its lifecycle. The one-arg form remains available for standalone tables that do not have an Ember owner.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
owner
object
getOptions
() => TableOptions<TFeatures, TData>
Returns
Table<TFeatures, TData>
Call Signature
function useTable<TFeatures, TData>(getOptions): Table<TFeatures, TData>;
Defined in: packages/ember-table/declarations/use-table.d.ts:11
Creates an Ember-reactive table.
Pass the containing component (or another Ember destroyable) as the first argument to tie external-atom subscriptions to its lifecycle. The one-arg form remains available for standalone tables that do not have an Ember owner.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
getOptions
() => TableOptions<TFeatures, TData>
Returns
Table<TFeatures, TData>