Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8694563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:48:52+00:00 2026-06-13T00:48:52+00:00

According to the docs here I should be able to use Y.one(#container).appended( newImages, function(){

  • 0

According to the docs here I should be able to use

Y.one("#container").appended( newImages, function(){
   console.log("appended");
});

to add new items to my page, but I get an error saying #container has no method 'appended'.

If I try Y.one("#container").masonry('appended', newImages); it tells me that #container has no method ‘masonry’

I do define masonry at the beginning of my function var masonry = new Y.Masonry({ ... so I’m confused on what I’m missing

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:48:53+00:00Added an answer on June 13, 2026 at 12:48 am

    You’re confusing a bit the jQuery style with the YUI style. In jQuery calling the $ function returns a jQuery object which has a lot of functions. But in YUI not all components are methods that can be called from a node query. In this case, Masonry is defined as a class from which all instances get certain methods like appended() or reload(). This means that your code should look like this:

    var masonry = new Y.Masonry({ ... });
    masonry.appended(newImages, function () {
      console.log("appended");
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to docs at http://code.google.com/p/minify/wiki/UriRewriting $min_serveOptions['rewriteCssUris'] = false; I should be able to add
According to this http://docs.nuget.org/docs/start-here/using-the-package-manager-console I should see the PM prompt and commands like get-packages
According to the Mac Dev Center docs, you should be able to set the
According to the docs I should be able to have Twilio initiate a call
According to the Erlang docs, you can use the supervisor:terminate_child function with simple_one_for_one supervisors
According to the docs String text = String.format(%5.1e, 3.1415f); Should produce something like 3.1E+00
According to the gcc docs , memcmp is not an intrinsic function of GCC.
According to the PHP docs, one can initialize properties in classes with the following
According to the DBUnit docs link it should support using a CLEAN_INSERT when using
According to the iBatis docs , using byte? as a type value should work

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.