override Method

Produce a copy of these ViewFlags, overriding some of its properties. Any properties not explicitly specified by overrides will retain their current values, as will any property explicitly set to undefined.

override(overrides: Partial<Mutable<NonFunctionPropertiesOf<ViewFlags>>>): ViewFlags

see ViewFlags.copy to have undefined properties reset to their default values.

Parameter Type Description
overrides Partial<Mutable<NonFunctionPropertiesOf<ViewFlags>>> The properties to override.

Returns - ViewFlags

Defined in

Last Updated: 30 November, 2023