Tender js widget documentation

Shay Arnett's Avatar

Shay Arnett

23 Jul, 2009 06:53 PM

When you want to use the widget with your own links, the documentation is a little confusing.

widgetToggles: [$('help')]

Example uses prototype without mentioning which framework, and could be cleared up with a couple more examples.

// No framework
widgetToggles: [document.getElementById('help')]
// Prototype
widgetToggles: [$('help')]
// jQuery
widgetToggles: $('#help')
  1. 1 Posted by Kyle Neath (Git... on 23 Jul, 2009 10:25 PM

    Kyle Neath (GitHub Staff) 's Avatar

    Thanks, I made it a bit clearer that you don't need a framework. Should be deployed in the next few days.

  2. Kyle Neath (GitHub Staff) closed this discussion on 23 Jul, 2009 10:25 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

13 Oct, 2020 08:53 PM
29 Aug, 2020 04:36 PM
18 Aug, 2020 06:58 PM
20 Jul, 2020 11:50 PM
08 Jun, 2020 06:01 PM