sap-samples / ui5-webcomponents-sample-svelte Goto Github PK
View Code? Open in Web Editor NEWUI5 Web components sample TODO application built with Svelte.
Home Page: https://sap.github.io/ui5-webcomponents/
License: Apache License 2.0
UI5 Web components sample TODO application built with Svelte.
Home Page: https://sap.github.io/ui5-webcomponents/
License: Apache License 2.0
Hey,
I just read this blog post and saw this repository linked there. Nice to see this movement and progress for ui5 webcomponents.
Good job guys!
I tried to use ui5 webcomponents with svelte two years ago and stumpled on some points.
But all in all it works really nice!
I think probably you should mention some points in README, which are currently not supported.
Such as two way data binding on input-element is not working as expected. See: sveltejs/svelte#4838
<script>
import "@ui5/webcomponents/dist/Button";
import "@ui5/webcomponents/dist/Input";
export let name = world;
</script>
<style>
main {
font-family: sans-serif;
text-align: center;
}
</style>
<main>
<h1>Hello {name}!</h1>
<ui5-button>Hello {name}</ui5-button>
<!-- databind implement by myself -->
<ui5-input value={name} on:input={(e) => name = e.target.value}></ui5-input>
<!-- svelte "native" two-way-databinding -->
<!-- comment this out to see the problem-->
<!--<ui5-input bind:value={name}></ui5-input>-->
</main>
A violation against the OSS Rules of Play has been detected.
Rule ID: rl-vulnerability_alerts-1
Explanation: Are vulnerability alerts enabled? No
Find more information at: https://sap.github.io/fosstars-rating-core/oss_rules_of_play_rating.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.