drop
drop copied to clipboard
Just another MV* framework
``` html [+click ::onclick()] [] ``` ``` typescript @component({ tag: 'awesome-button', template: 'awesome-button.html' }) export class AwesomeButton { @component.param() value: string; @component.target() target: DecoratorTarget; } let app = new Drop.App();...
# Introduction to Drop 0.2 (Draft) Drop is an MV\* framework targeting mobile web apps. It is designed for reasonable performance and generic syntax. The core concept of Drop is...
Some times we'll need branches like if...else. It's not necessary to achieve the goal but having them would be handy. We might want something like this: ``` html [if condition]...
The samples below seem to be longer than they should be. Need some inspirations. (The reason for doing this is to take the advantages of native parsers for HTML and...
There was a marker `#` for modifiers, but maybe we can remove that? The problem is, a modifier would create a scope, just like the `function` in JavaScript does. Counting...
Decorator target is one of the successful concept in Drop v0.1, but it could be more powerful in v0.2. In v0.1, decorator target is a collection of some elements plus...
Currently in Drop v0.1: I have modifiers (which can create a scope) like `{#each ...}`, processors like `{%if ...}` and other special processors like attribute processor `{@class ...}` and event...
As some special event may need initialization on specific elements, Drop will allow developer to register customized events for handling things like `tap` and other gestures. ``` typescript // TODO:...