Skip to content

CustomCSS.setCssEnabledStatus method

CustomCSS › setCssEnabledStatus

Unofficial

Set the activation status of a snippet by snippet name.

Signature:

setCssEnabledStatus(snippetName: string, enabled: boolean): void

Parameters:

Parameter Type Description
snippetName string Name of the snippet.
enabled boolean Whether the snippet should be enabled.

Returns: void