# observe\_scomp\_script\_render/2

Source: https://zotonic.com/docs/2160/observe_scomp_script_render-2

URI: https://zotonic.com/id/2160

Language: en



Add extra javascript with the \{% script %\} tag. (map) Used to let modules inject extra javascript depending on the arguments of the \{% script %\} tag. Must return an iolist()

Type:

[map](/id/doc_developerguide_notifications#notification-map)

Return:

`#scomp_script_render{}` properties:

- is\_nostartup: `boolean`
- args: `list`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2160?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2160?language=en>)
