Injects CSS from a remote URL.
Returns a promise that resolves to the HTML style element inserted into the page.
Press shift + S to search API reference.
Injects CSS from a remote URL.
Returns a promise that resolves to the HTML style element inserted into the page.
import {loadCSSFromURLAsync} from '@airtable/blocks/ui';loadCSSFromURLAsync('https://example.com/style.css');
function (url: string) => Promise<HTMLLinkElement>
url | The URL of the stylesheet. |