Prism API
Home
GitHub
Preparing search index...
shared/dom-util
setLanguage
Function setLanguage
setLanguage
(
element
:
Element
,
language
:
string
)
:
void
Sets the Prism
language-xxxx
class of the given element.
Parameters
element
:
Element
language
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
GitHub
Prism API
Loading...
Sets the Prism
language-xxxx
class of the given element.