Appearance
Home > @plaidev/karte-action-sdk > applyCss
applyCss() function
アクションに CSS を適用する
Signature:
typescript
declare function applyCss(css: string): Promise<HTMLStyleElement>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| css | string | 適用する CSS |
Returns:
Promise<HTMLStyleElement>
適用された style 要素を返す Promise