Skip to content
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

Apply echo for specific images only #85

Open
AndrewEastwood opened this issue Apr 5, 2015 · 1 comment
Open

Apply echo for specific images only #85

AndrewEastwood opened this issue Apr 5, 2015 · 1 comment

Comments

@AndrewEastwood
Copy link

If I had any collection of BB views and each has own image then how can I init the echo for image for each view only?

@jebaird
Copy link
Contributor

jebaird commented Oct 4, 2017

Say your markup looks like this

<div class="one">
<img data-src="cat.png">
</div>
<div class="two">
<img data-src="cat.png">
</div>

You could only render the images in "one" via

echo.render( '.one' )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants