Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Using jQuery Plugins Add a Sticky Navigation Bar Understanding Plugin Events

Vic Mercier
Vic Mercier
3,276 Points

Is there a place where we can fing the plugin's event name?

I don't know where to find that.

2 Answers

Steven Parker
Steven Parker
229,732 Points

You would find the event name(s) in the documentation for the plug-in.

As mentioned in the video, "Not all plugins have events. And you should realize that a plugin event is just the creation of the plugin's author. They aren't just magically part of the plugin."

check this out: https://github.com/garand/sticky/blob/master/README.md The Events part. :)

Masha Blair
Masha Blair
13,005 Points

Thank you! That answers my question beautifully!