aurelia / templating-binding

An implementation of the templating engine's Binding Language abstraction which uses a pluggable command syntax.
MIT License
32 stars 26 forks source link

feat(Let): support let element #117

Closed bigopon closed 6 years ago

bigopon commented 7 years ago

base discussion #115

EisenbergEffect commented 6 years ago

@jdanyow Any chance you can take a look at this?

bigopon commented 6 years ago

@EisenbergEffect @jdanyow implementation done.

Updated demo: https://gist.run/?id=c663e05d14ac122df8a73f6830928279

syntax:

<!-- assign to overrideContext -->
<let
  property.bind='expression'></let>

<!-- assign to view model -->
<let
  to-binding-context
  property.bind='expression'></let>

@Alexander-Taran 😆 @jods4 @fkleuver

davismj commented 5 years ago

@bigopon you're a legend