Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Svelte Testing

Public visualization

Viewing a saved revision (read-only)

e03a2c62ec114710b52959bf976aea82

Svelte Testing

0 stars0🌍 Public
CCurran Kelleher
Last edited Jan 18, 2021
Created on Dec 3, 2020

This example demonstrates a simple interactive arithmetic calculator built with Svelte. Two numeric input fields are bound to variables `a` and `b` using Svelte’s `bind:value` directive, and the sum is displayed in a paragraph. The UI is styled via a global CSS rule in the HTML file. The visualization shows how Svelte’s declarative syntax integrates into a page, though the README notes that style output is not yet fully instantiated in this early VizHub integration. The code relies on the Svelte component model and basic HTML input elements.

AI-generated description

Initial testing for VizHub's Svelte integration.

WORK IN PROGRESS - VizHub support for Svelte is not yet complete - the styles output from Svelte are not instantiated on the page.