-
Notifications
You must be signed in to change notification settings - Fork 68
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
Does this really work? "mansory" and parent() #2
Comments
It is a typo, I would also suggest integrating imagesloaded plugin to add support for images like this:
|
Yeah maybe on the packaging something went wrong however it's being used in some projects, if you follow the sample you should do good. Anyway i'm going to check it tonight tks for the red flag |
Anyone got this to work? Using above code, I still have error
|
The problem is that the 'masonry' directive is overriding the items provided by the scope. |
So I got the angular masonry directive installed, When I run my app I get this: ReferenceError: obj is not defined So I looked at the directive and console logged to see what is undefined, I came to the conclusion that you cant access obj property from master in line 24 of angular-masonry (see the comments) Do you see what is wrong ? |
Need to test this directive is long old... i'll find out some time today to check this out! |
Hi, master is not defined. |
use events to call parent functions
Hi there
I've tried to get this to work but without luck. I can see several weird things in the code, for instance:
var master = elem.parent('*[mansory]:first').scope();
Is there a reason this is called "mansory" and not "masonry"? I also don't think parent() supports selectors, unless you use jQuery?
I really like the idea of a directive that doesn't require jQuery. :)
The text was updated successfully, but these errors were encountered: