Strudel.js – 一个轻量级的ECMAScript 2015组件框架

网友投稿 648 2022-10-25

Strudel.js – 一个轻量级的ECMAScript 2015组件框架

Strudel.js – 一个轻量级的ECMAScript 2015组件框架

Strudel.js (@) is a lightweight ECMAScript 2015 component framework that main features are:

Decorators: Boilerplate reduced to minimumComponent-Based: Modularise and easily extend your DOM functionalitySmall footprint: No dependencies, ~3kb gzipped

Browser Support

Strudel.js supports all the browsers that are ES5 and DOM4 compliant (IE10 and below not supported).

Quickstart

Here is simplest component to get you started:

@Component('.greeter')class Greeter { init() { this.$element.html('Hello world!'); }}

It's recommended to start a project using dedicated CLI

Documentation

To check more examples and docs visit strudeljs.org.

Contributing

Please make sure to read the Contributing Guide before making a pull request.

License

MIT

Copyright (c) 2017-present, Mateusz Łuczak

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:多线程之锁
下一篇:YAHFA是一个针对Android ART的钩子框架
相关文章

 发表评论

暂时没有评论,来抢沙发吧~