The cache key for the cell. Initialized to an empty string by default.
Private
_The current style key applied to this cell.
The index of the cell in the list. Initialized to -1 by default.
Optional
itemThe item property represents an identifiable entity that will be used within the BaseCell component. It is expected to implement the IIdentifiable interface.
The current view fragment associated with this cell.
Private
viewInjected provider for managing view fragments.
Applies the specified view status to the cell. Updates the view fragment's status and applies the data map.
The view status to apply.
Renders the cell at the specified coordinates. Updates the translation of the view fragment.
The x-coordinate.
The y-coordinate.
Resets the cell by setting item and row to undefined. This method does not remove any view fragment.
Sets the item and updates the cell size based on the provided row. If the row is undefined, it defaults the cell size to [640, 480]. If the new item is the same as the current item, it does nothing. Otherwise, it updates the item and triggers the changeRowHidden method.
The row that this cell belongs to
Optional
item: IIdentifiableThe new item to be set.
Sets the visibility of the cell. Updates the visibility of the view fragment.
Whether the cell should be visible.
Toggles the display of debug bounds for the cell.
Whether to show debug bounds.
DynamicCell
is an extension ofBaseCell
that dynamically manages its view fragment. It handles style changes, view status updates, and rendering within a collection view.