-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fa-container-surface options #193
Comments
A vanilla famo.us ContainerSurface also has the ability to support "properties", which allows you to set CSS attributes. Not having this ability is blocking me from implementing something similar to a ScrollContainer with a ContainerSurface encapsulating a ScrollView. |
Also remember that you always have the ability to manipulate the Famo.us components directly using |
Thanks for the tip. I can work with that. I just wasn't sure if that was a bug or if I was doing something wrong as usually you expect model changes to pick up in the view in Angular. |
yes, so this does work
|
live fa-options updates should now work (on any Famo.us element that uses the setOptions API, which should be just about everything) without needing to use $famous.find, thanks to @marlonpp's PR #202. One other note on $famous.find: you can use any CSS selectors, including classes, ids, or tag types to look up elements (e.g. |
When I apply fa-options to a container surface, e.g. a background colour, it works initially, but if I try and assign a new colour property afterwards through the same scope object to the same container surface, the background colour doesn't change? Not sure if this is expected behaviour, can you only apply fa-options on a container surface once?
The text was updated successfully, but these errors were encountered: