-
-
Save fend25/5a4120f17daecf24ac96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Online Builder, Basis and Full version | |
al-init $element | |
al-model - proxy for al-value, al-focused, al-checked ... | |
про эвенты и атрибуты - без компонентов | |
@event | |
@keydown.alt.control.shift.meta.enter | |
@event.throttle | |
@event.debounce | |
$event, $element, $value | |
custom modifiers | |
:attr | |
:focus | |
:style.border-color | |
:html :html.scope :html.inline ... | |
easy an able to extend :html | |
hooks for scope | |
hooks for attributes | |
al-ctrl for classes and functions | |
Elvis "?" operator | |
? namespace divider ":" | |
возможно это лучше на меня переложить? | |
al-repeat can iterate by arrays, objects and numbers | |
al-select | |
ToDO MVC becnhmark | |
Transparent Scope (al-if, al-include, al-html, al-repeat) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
optional A2 style for events and directives - чтобы я могу поучаствовать в дискуссии, а так я еще точно без инвайта буду | |
все компоненты, включая | |
$global namespace | |
эвенты, атрибуты | |
роутинг с объяснением что, зачем и почему | |
new feature:
"handlers for events"
http://jsfiddle.net/lega911/vb4psdag/
http://jsfiddle.net/lega911/gs6pyz84/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Примеры для атрибутов:
:attr (:value :checked :disabled :class ... ) http://jsfiddle.net/lega911/yh2o8kp7/
:style http://jsfiddle.net/lega911/vxhdcj3f/
:html http://angular-light.readthedocs.org/en/latest/directive/html.html
Для событий:
throttle + debounce: http://jsfiddle.net/lega911/q8bxL1w5/
custom modifier: http://jsfiddle.net/lega911/14ynfvmh/