Comments (2)
-
event.preventDefault()
should be enough to stop most browsers from showing context menu's. However there are some tricks and OS version specific things. So the scenario is really important, I suggest to create a JSFiddle or something and post it here or on StackOverflow. -
The tap/click handlers are not supplied with a date, since they are not events the calendar triggers. In line 152 the click handler is bound to the cells, which then trigger a
change
event with the date. If you want this to act ontaphold
, you could add this logic there (instead of or next to where the click handler is attached).
Another option might be to listen for changes caused by clicks with the existing change
event, then store this in a variable and use this in your taphold
handler.
from jqm-calendar.
Thanks Jan
-
Tried all but no luck. I decided to change in your library from "a" to "button": this does not trigger the browser menu on mobile devices
-
Added a taphold event which provide the date
I made both change but I'm not sure how to pull them... maybe you have to check the actual pull request?
Thanks a lot!
from jqm-calendar.
Related Issues (20)
- Issues with jQuery Mobile 1.4.2
- refresh not working HOT 1
- Enable dynamic loading of events
- Change in calendar options does not get triggered after refresh HOT 11
- Ignore button when searching for events HOT 2
- Buttons to change year HOT 2
- Disable past dates HOT 8
- eventhandler must contain all events in order to work HOT 5
- Question: What would be involved in upgrading jqm-calendar to JQM 1.4.5? HOT 3
- Wrong next month HOT 20
- Last version does not work (at least on Chrome desktop and mobile) HOT 8
- new Date(2015,09,05,10,30) format shows up 1 month later HOT 1
- Update issue HOT 10
- demo HOT 1
- full year view HOT 3
- Calendar not working in Compiled APP. HOT 1
- Problems to see the correct Date HOT 1
- Display evends in the calendar HOT 2
- Dates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jqm-calendar.