forked from umakantp/jsmart
-
Notifications
You must be signed in to change notification settings - Fork 2
include_javascript
pfaciana edited this page Sep 25, 2019
·
2 revisions
Loads and executes javascript code at run-time.
| Attribute | Required | Default | Description |
|---|---|---|---|
| file | Yes | n/a | The value of the file attribute is passed to Latte.prototype.getJavascript() method to get code to execute. |
| once | No | true | whether or not to include the JavaScript code more than once if included multiple times |
| assign | No | n/a | The name of the variable that the output will be assigned to |
see also Latte.prototype.getJavascript