import { DaffExternalScriptServiceInterface } from '@daffodil/core/external-script'
interface DaffExternalScriptServiceInterface {
load(
name: string
script: DaffExternalScript
): Observable<boolean>
}
ObservableLoad a script into the document.
| Parameter | name: string |
|---|---|
| Description | The name of the script. |
| Parameter | script: DaffExternalScript |
|---|---|
| Description | The script object containing details like src, async, defer, and custom attributes. |