russiann / flex-calendar Goto Github PK
View Code? Open in Web Editor NEW๐ An Elegant Calendar built with Angular.js
Home Page: http://russian60.github.io/flex-calendar/
License: MIT License
๐ An Elegant Calendar built with Angular.js
Home Page: http://russian60.github.io/flex-calendar/
License: MIT License
If i add $scope.options to my Controller (controller attached to calendar view) i get the following error:
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
I know its because i'm using 'use strict'; at the top of my .js file but i was wondering is this due to folowing var's :
defaultDate: new Date(2015, 06, 26),
minDate: new Date(2015, 06, 12),
maxDate: new Date(2015, 12, 31),
Is it possible to somehow rewrite this so it will work within 'use strict' rules?
Thank you for the great job with flex-calendar.
bower install flex-calendar --save
bower not-cached git://github.com/Russian60/flex-calendar.git#1.0.0
bower resolve git://github.com/Russian60/flex-calendar.git#1.0.0
bower not-cached git://github.com/Russian60/flex-calendar.git#*
bower resolve git://github.com/Russian60/flex-calendar.git#*
bower checkout flex-calendar#master
bower resolved git://github.com/Russian60/flex-calendar.git#100a81b83e
bower ENORESTARGET No tag found that was able to satisfy 1.0.0
Additional error details:
No versions found in git://github.com/Russian60/flex-calendar.git
Hi, with ionic serve I can see events on calendar, on iphone events seems to be empty (but $scope.events is not null)
Any ideas?
I fetch datas with http request, after
var events = response;
....
some stuff
....
$scope.events = envents;
tnxs
m.
Is it possible to remove saturday and sunday from calendar ?
If the $scope.events object is created later on, you can't add it to the calendar witch is already initialized
not at all
Hi! Thanks for this awesome project! @Russian60 I read that there's the eventClass property available for the events array but I can't manage to make it work! Could you please take a look into this fork (http://codepen.io/comapedrosa/pen/dXPBYy)? As you can see I only added eventClass in one of the elements of the array:
$scope.events = [
{foo: 'bar',eventClass: 'expired', date: "2015-08-19"},
{foo: 'bar', date: "2015-08-20"}
];
And I added on the CSS the expired class
.expired {
color:red !important;
background-color: red !important;
}
Any kind of hep/suggestion would be great! Thx!!
For some reason, Oct 16th, which is supposed to be a Sunday, shows up as Saturday here, breaking into a new week containing only itself. Anyone else experiencing this?
Change:" Inject 'flex-calendar' and ..."
To: " Inject 'flexcalendar' and ..."
The name correct of module. :D
When the calendar plugin tries to read the dates there are in the $scope.events, the calendar displays a day before (if in the $scope.events have de date 12/04, the calendar displays the event on 11/04). Apparently, the calendar is reading the date in a wrong way, because when I click in the day with a event and print de date parameter that cames in the dateClick function, it shows that have GMT -3 (Tue Apr 12 2016 21:00:00 GMT-0300 (Local Standard Time)) and I dunno from where it cames. How I take off this GMT and from where I should take it off?
The month of May is not spelled correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.