Skip to main content
Version: 2.x

StyleTarget.removeChild() method

@microsoft/fast-element > StyleTarget > removeChild

StyleTarget.removeChild() method

Removes styles from the target.

Signature:

removeChild(styles: HTMLStyleElement): void;

Parameters

Parameter

Type

Description

styles

HTMLStyleElement

The styles element to remove.

Returns:

void