@tanstack/angular-table
Version:
Headless UI for building powerful tables & datagrids for Angular.
41 lines (40 loc) • 1.5 kB
TypeScript
/**
* Flags used to manage and optimize the rendering lifecycle of content of the cell,
* while using FlexRenderDirective.
*/
export declare enum FlexRenderFlags {
/**
* Indicates that the view is being created for the first time or will be cleared during the next update phase.
* This is the initial state and will transition after the first ngDoCheck.
*/
ViewFirstRender = 1,
/**
* Represents a state where the view is not dirty, meaning no changes require rendering updates.
*/
Pristine = 2,
/**
* Indicates the `content` property has been modified or the view requires a complete re-render.
* When this flag is enabled, the view will be cleared and recreated from scratch.
*/
ContentChanged = 4,
/**
* Indicates that the `props` property reference has changed.
* When this flag is enabled, the view context is updated based on the type of the content.
*
* For Component view, inputs will be updated and view will be marked as dirty.
* For TemplateRef and primitive values, view will be marked as dirty
*/
PropsReferenceChanged = 8,
/**
* Indicates that the current rendered view needs to be checked for changes.
*/
DirtyCheck = 16,
/**
* Indicates that a signal within the `content(props)` result has changed
*/
DirtySignal = 32,
/**
* Indicates that the first render effect has been checked at least one time.
*/
RenderEffectChecked = 64
}