Skip to content

CodeHighlighterComponent.setPlaceholder method

CodeHighlighterComponent › setPlaceholder

Sets the placeholder of the component.

Signature:

setPlaceholder(placeholder: string): this

Parameters:

ParameterTypeDescription
placeholderstringThe placeholder to set.

Returns: thisThe component.