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:

ParameterTypeDescription
snippetNamestringName of the snippet.
enabledbooleanWhether the snippet should be enabled.

Returns: void