Skip to content

NamedStyleDeleteResult

type NamedStyleDeleteResult = object;

Result of NamedStyles.delete. The cascadedTo count reports how many anonymous styles lost their extendsStyle pointer as part of the delete; those styles keep their own properties but no longer inherit from the removed named style.

cascadedTo: number;

Number of anonymous styles whose extendsStyle was cleared as a consequence of the delete. Always 0 when removed is false.


removed: boolean;

true if a named style was found and removed, false otherwise.