Skip to content

Core

CorePlugin

class CorePlugin {
/**
* Observe attribute changes on the grid element
* @param attrName - The attribute name to observe (supports both kebab-case and camelCase)
* @param callback - Callback function when attribute changes
*/
observeAttribute(attrName: string, callback: (value: string | null) => void);
/**
* Stop observing an attribute
* @param attrName - The attribute name to stop observing
*/
unobserveAttribute(attrName: string);
/**
* Set the trimmed state for a column
*/
setColumnTrimmed(trimmed: Trimmed, type: DimensionCols);
/**
* Destroy plugin and clean up all observers
*/
destroy();
}

__TRIAL__ (from global)

__TRIAL__: boolean;