styleDeclaration(withText:)
Returns the CSS style declaration for the specified text.
Declaration
func styleDeclaration(withText text: String!) -> DOMCSSStyleDeclaration!Parameters
- text:
The text whose style declaration is returned.
Return Value
The style declaration for text.