2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: FrameAddScriptTagOptions
|
|
|
|
---
|
|
|
|
|
|
|
|
# FrameAddScriptTagOptions interface
|
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### Signature:
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
export interface FrameAddScriptTagOptions
|
|
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2023-03-28 18:02:00 +00:00
|
|
|
| Property | Modifiers | Type | Description | Default |
|
|
|
|
| -------- | --------------------- | ------ | ---------------------------------------------------------------------------------------------------- | ------- |
|
|
|
|
| content | <code>optional</code> | string | JavaScript to be injected into the frame. | |
|
|
|
|
| id | <code>optional</code> | string | Sets the <code>id</code> of the script. | |
|
|
|
|
| path | <code>optional</code> | string | Path to a JavaScript file to be injected into the frame. | |
|
|
|
|
| type | <code>optional</code> | string | Sets the <code>type</code> of the script. Use <code>module</code> in order to load an ES2015 module. | |
|
|
|
|
| url | <code>optional</code> | string | URL of the script to be added. | |
|