scopeCss
function scopeCss(css, scope): Promise<string>;Defined in: src/build/scope-css.ts:37
Prefix every rule in css with scope (a class, e.g. ".xtandard-flags"), re-homing
:root/html/:host/body onto the wrapper and leaving keyframe steps alone. Pure.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
css |
string |
scope |
string |
Returns
Section titled “Returns”Promise<string>