shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
stylesheetToString
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.dom.css
This function take a StyleSheet instance and convert it to a simple string
Params
- stalesheet*-StyleSheet|StyleSheetList
The StyleSheet instance to convert
Return
- -String
The css string
Example
import { stylesheetToString } from '@blackbyte/sugar/css';
stylesheetToString(document.stylesheets); // => body { ... }Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space