withRenderMode Method
Produce a copy of these ViewFlags with a different renderMode.
withRenderMode(renderMode: RenderMode): ViewFlags
@returns A new ViewFlags with the render mode changed as specified, or this
if the render mode is already set to the requested value.
@see copy and override to change multiple properties.
Parameter | Type | Description |
---|---|---|
renderMode | RenderMode | The new render mode. |
Returns - ViewFlags
A new ViewFlags with the render mode changed as specified, or this
if the render mode is already set to the requested value.
Defined in
- core/common/src/ViewFlags.ts Line 323
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.