soundasleep / jquery-dropdown

Bootstrap-style dropdowns with some added features and no dependencies.
Other
767 stars 268 forks source link

Hmmm. How about naming it without the "hyphen"....(minus sign) #86

Closed robvon closed 9 years ago

robvon commented 9 years ago

Good luck trying to get this to behave using the API where the name is taken as "jq" - "dropdown".

Perhaps a "." would be a better alternative

[EDIT] Ok - so I've looked at the code and its called: "jqDropdown". Could you update your doco then - perhaps with some API examples.

claviska commented 9 years ago

Docs: http://labs.abeautifulsite.net/jquery-dropdown/

robvon commented 9 years ago

I read all of that...

Example usage: $('#trigger').jq-dropdown('method', [value]);

This was the example I used.... Somewhat hyphenated....

Anyway, If using the API:

Do I call

  1. Attach
  2. Then enable
  3. Then trigger (when requested)
ghost commented 9 years ago

The index.html is correct here on GitHub, but the "live" copy on http://labs.abeautifulsite.net/jquery-dropdown/ doesn't include the fix from #85.

claviska commented 9 years ago

The demo site is now up to date. Thanks for catching that.