https://github.com/kitware/trame-iframe
Helper widget for trame to help for cross-origin communication between window/iframe
https://github.com/kitware/trame-iframe
trame trame-maintenance-program
Last synced: 10 months ago
JSON representation
Helper widget for trame to help for cross-origin communication between window/iframe
- Host: GitHub
- URL: https://github.com/kitware/trame-iframe
- Owner: Kitware
- License: other
- Created: 2023-03-28T20:38:16.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T06:19:37.000Z (over 1 year ago)
- Last Synced: 2025-08-14T21:56:26.087Z (10 months ago)
- Topics: trame, trame-maintenance-program
- Language: JavaScript
- Homepage:
- Size: 239 KB
- Stars: 4
- Watchers: 8
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
.. |pypi_download| image:: https://img.shields.io/pypi/dm/trame-iframe
trame-iframe |pypi_download|
===========================================================
Trame widget library that can be use to handle cross-origin communication with iframe.
This library is compatible with both vue2 and vue3 client.
In a nutshell, this library allow to embed a trame application as an iframe while still enabling communication or synchronization with the parent web application.
This also could be reversed where trame can embed an external web application as iframe and either drive it or listen to internal state change.
For more details on how to use it, please look at the examples.
License
-----------------------------------------------------------
This library is distributed under the Apache Software License
Development
-----------------------------------------------------------
Build and install the Vue components
.. code-block:: console
cd vue-components
npm i
npm run build
cd -
Install python package
.. code-block:: console
pip install -e .