Skip to content

Instantly share code, notes, and snippets.

@fend25
Forked from lega911/gist:4b957e1f14f383ffd275
Last active May 20, 2016 17:24
Show Gist options
  • Save fend25/5a4120f17daecf24ac96 to your computer and use it in GitHub Desktop.
Save fend25/5a4120f17daecf24ac96 to your computer and use it in GitHub Desktop.
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)
optional A2 style for events and directives - чтобы я могу поучаствовать в дискуссии, а так я еще точно без инвайта буду
все компоненты, включая
$global namespace
эвенты, атрибуты
роутинг с объяснением что, зачем и почему
@lega911
Copy link

lega911 commented Feb 28, 2016

Примеры для атрибутов:
: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/

@lega911
Copy link

lega911 commented Mar 4, 2016

@lega911
Copy link

lega911 commented May 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment