Closed jdanyow closed 5 years ago
TLDR:
I think not supporting new properties will be a major pitfall Likely, it'll end up with users spamming issues about it
Understood. I think we can do it eventually, but should probably not for this first pass. We can add some documentation on that and then try to address it after we do further core work on the binding system.
still not working. but maybe nobody cares
We can keep this open, though it's love priority since this doesn't block people from achieving the same end result through other means today.
I do care and I write getters like get fontStyle(){ return this._fontStyle; }
and use that like <div css="font:${fontStyle}"></div>
i.s.o. css.bind="..."
The getter will act like a property that gets re-evaluated automatically through the string interpolation ${}. See https://ilikekillnerds.com/2016/02/binding-with-style-in-aurelia/
@EisenbergEffect added to vNext candidates list. Can be closed
discussion
Example:
view
view-model
Notes: