Skip to content

Uhuu Playground

In the Uhuu Playground, you can try developing online using code editor and experiment handling dynamic data. Here’s a quick overview of what scripting in Uhuu entails:

  • Dynamic Data Binding: Access your data payload using $uhuu.payload(), which provides the initial dataset for your template. This allows you to easily inject dynamic content into your HTML or components.
  • Real-Time Updates: Use $uhuu.listen("payload", (payload) => {}) to listen for any changes made through Uhuu's editor, ensuring your template stays up-to-date with the latest data. This enables smooth integration between your code and the form-based or dialog-based data editing tools.
  • Framework Flexibility: Whether you prefer using React components, Vue templates, or vanilla JavaScript, you can integrate your scripting logic easily. Load your framework from a CDN, initialize your data with $uhuu.payload(), and listen real-time updates with $uhuu.listen.

The scripting environment in Uhuu encourages developers to focus on building dynamic, data-driven templates while leveraging the power and flexibility of the $uhuu SDK. This makes it easy to enrich your templates with interactive features and keep them in sync with the data edited in Uhuu's powerful editor.

With these tools at your disposal, you're ready to dive into Uhuu Playground Templating and create engaging, dynamic experiences!