Skip to main content
Version: 21.0.0

FrameAddScriptTagOptions interface

Signature:

export interface FrameAddScriptTagOptions

Properties

PropertyModifiersTypeDescriptionDefault
contentoptionalstringJavaScript to be injected into the frame.
idoptionalstringSets the id of the script.
pathoptionalstringPath to a JavaScript file to be injected into the frame.
typeoptionalstringSets the type of the script. Use module in order to load an ES2015 module.
urloptionalstringURL of the script to be added.