jQuery-Impromptu icon indicating copy to clipboard operation
jQuery-Impromptu copied to clipboard

Jquery Mobile Compatibility?

Open ppetree opened this issue 6 years ago • 2 comments

Has anyone tried this with JQM?

Before spending hours, the first and most immediate issues I see are:

  1. Some/most pages are loaded into the dom dynamically so the elements wouldn't exist in the dom when then tutorial started but would get loaded when a required action was invoked. I could see this wreaking havoc with a script with a script unprepared for jqm.

Thoughts?

ppetree avatar Mar 15 '18 16:03 ppetree

I've not used jqm, but if I understand the concern correctly, this shouldn't be a problem. For clarity your thinking: jqm you click a link (or some event occurs) and you do two things:

  • load a new page via xhr
  • open up an impromptu prompt And because the page is loaded via xhr it may not yet exist when the prompt is opening?

If this is the case you would just need to not open the prompt until you receive some type of success or loaded event on the page change before. Outside of that the prompt's html shouldn't interfere with jqm.

trentrichardson avatar Mar 16 '18 12:03 trentrichardson

Trent,

Thanks for your response. Does impromptu have a way to trigger those events (i.e. $.changePage("somePage");

ppetree avatar Mar 18 '18 13:03 ppetree