hiroprotagonist / jquery.mobile.actionsheet

An actionsheet for jquerymobile
103 stars 34 forks source link

Option to hide anchor link, add data-sheethidden="true" argument to hide it. #12

Closed nbenitez closed 13 years ago

nbenitez commented 13 years ago

This will make the action-sheet to be hidden, useful when you dont need a user interface to open/close it, because you do it programatically (eg. when a device button is pressed).

hiroprotagonist commented 13 years ago

Hi This action sheet plugin is not meant to be used programatically. it is like it is. Whats wrong about the jqm standard dialog? It completely programatically usable. I think this plugin has a few things you like to have in your application but in the end it is, as far as i can say, NOT what youre looking for. What you and a lot of others need is a different plugin wich is not written yet.

Cheers Stefan

nbenitez commented 13 years ago

Hi Stefan, it's ok if you want your plugin to stay as it is, although my patches don't touch existing behaviour just add new options for people who want to mimic an android action sheet.

I will then keep my fork around and maybe in future rename it and make it independent project.

thank you for your feedback!

hiroprotagonist commented 13 years ago

Well, instead of changing the javascript one could simply hide the trigger with css.