Open imheresamir opened 10 years ago
This looks great, @imheresamir . A very solid PR (thanks especially for the tests!) It looks like you haven't yet signed Famo.us's CLA: could you please do that so I can merge this in? http://famo.us/cla/
Thanks!
Signed. I'm glad you like it :smile:
Hi guys,
Is there any news about that PR? Is it a dead PR that will never be merged? It seems to fit one of our needs and would love to try it. (we gonna try it anyway ;) )
Thanks
Hi guys!
This directive looks amazing: I've downloaded the code and tested it on local and it seems to work well. I just have a very strange issue: this error message appears in the browser console:
Error: fa-options is not supported on FA-DECK
This error is thrown from this file: https://github.com/Famous/famous-angular/blob/master/src/scripts/directives/fa-options.js#L41
The reason is that isolate.renderNode
is an instance of RenderNode
: it should be an instance of Deck
.
The strange part is when I try to change the directive name (from faDeck
to a dummy name like faAaa
)... it works well!
It looks like it works for all names but faDeck
... I have no clues why, it's kind of non-sense for me. Any ideas?
Added the Famo.us Deck view as a F/A
fa-deck
directive. This includes the new attributefa-open
which takes a "true" or "false" value and opens or closes the Deck accordingly.Added F/A Deck specific tests and an example app in the header comment which should make it easy to document.
Big thanks to Zack for the pointers!
Cheers, Samir