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