Comments (3)
Hey @nicolalandro, you're really pushing Streamsync!
You can access the Streamsync frontend core via globalThis
and use the function evaluateExpression
.
globalThis.core.evaluateExpression("dna");
I'm currently working on new features which will be a better way to implement this.
- Custom scripts and CSS. You'll be able to link JS scripts and CSS. Also, trigger the imported JS from the backend on demand (via mail, similar to how you trigger a
file_download
oropen_url
). This is coming very soon, in the next release. - Custom components. This will be a great fit for what you're trying to do. You'll also be able to fire and handle custom events, which isn't possible at the moment. This feature will be available two releases from now.
from streamsync.
Perfect! I solved It. Instead for call some funcion how can I do?
from streamsync.
Awesome! Regarding functions...
- Frontend function. In the latest release, v0.1.12 it's possible to import an ES6 module and trigger a function from the backend.
- Backend function. To trigger a backend function you'd need to fire an event and have a valid event handler. Right now there's no support for custom events, which is probably what you're after. It's coming in the next version together with custom components.
from streamsync.
Related Issues (20)
- Change dropdowns to radio buttons or similar HOT 2
- Empty pagination list starts with wrong count
- import for State, for using State Schema, is missing in streamsync highlevel import
- "Dropdown Input" improvement
- Multi choice dropdopw choices in a section does not show all options and is cutoff HOT 2
- Not all components follow the Horizontal stack edict HOT 1
- Repeater context returns a wrong value
- exclude generated files as storybook and app_templates from repository
- Horizontal stack missing align-items setting HOT 1
- initial position of Switch Input doesn't match bound value (if True) HOT 1
- Feature Request: Modal Window component
- Custom Components not loading with .cjs extension HOT 2
- Feature request: Add search and keyboard shortcuts to toolkit
- It is possible to modify the state from js script?
- Question: How to clear the chat bot window? HOT 2
- Question: How do I pick up the URL variables at the start of the app? HOT 4
- Workaround for editable Dataframe
- Reuse component inside Repeater
- How to Package a StreamSync App into an Executable Using PyInstaller?
- Dropdown bug. can't select Bug HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamsync.