Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface FrameAddScriptTagOptions
import { type FrameAddScriptTagOptions } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Properties

optional
url: string

the URL of the script to be added.

optional
path: string

The path to a JavaScript file to be injected into the frame.

optional
content: string

Raw JavaScript content to be injected into the frame.

optional
type: string

Set the script's type. Use module in order to load an ES2015 module.