File: README.md

package info (click to toggle)
python-trame 3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 101,620 kB
  • sloc: python: 13,515; sh: 183; javascript: 93; makefile: 7
file content (5 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (2)
1
2
3
4
5
This example load a JS file on disk to make it available for the trame template. 

For that we extend the existing `window.trame.utils` container with our helper functions to be used in our template expression as `utils.my_code.*`.

On top of that we illustrate some usage of JSEval component for executing custom JS.