About calendar problems
See original GitHub issueHello, I found some of canendar problems.
1). displayValues is undefined
var calendarDefault = myApp.calendar({
onChange: function(p, values, displayValues) {
console.log(displayValues); // output: undefined
}
});
2). He could not be opened. I do not understand what is the reason
// can not open
$$(page.container).click(function() {
calendarDefault.open();
});
// can open
$$(document).click(function() {
calendarDefault.open();
});
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Calendars - Questions, Tricks, Problems and Solutions - Byju's
Calendars - Read on to learn how to solve Calendar Questions in the Logical Reasoning section of ... Type 3 problems: Matching the...
Read more >Calendar Problems: Concepts & Tricks - Hitbullseye
Most students face difficulty in solving Calendar math problems. So here we try to provide a simplified procedure to solve calendar reasoning problems....
Read more >Calendar - Aptitude Questions and Answers - IndiaBIX
How to solve Aptitude Calendar problems? ... You can easily solve all kind of Aptitude questions based on Calendar by practicing the objective...
Read more >Calendar Problems - Onlinemath4all
Odd Days : In a given period, the number of days more than the complete weeks are called odd days. Leap Year :...
Read more >Calendar Problems Tricks And Shortcuts With Examples
In this article, we will be aiming at various calendar problem's tricks and concepts which is going to save your time while solving...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone facing the 2nd issue:
I found that when you have the
closeByOutsideClick
option ontrue
(by default on calendar init), the bubling cause by theclick
event fires theclose
event of the calendar.This is fixed by setting a handler with the
e.stopImmediatePropagation();
to avoid the bubbling (I’m rewriting the original example from this issue):BTW, I’m using Framework7 v1.6.4
Thanks @dantunes ☺️