Calendar component for Ember.js. http://joinspoton.github.io/ember-calendar/
Building:
$ npm install csso@~1.3.10 ember-handlebars@~1.2.0 shelljs@~0.2.6 uglify-js@~2.4.6
$ node build.js
© 2013 SpotOn, shared under the MIT License.
Calendar component for Ember.js.
Home Page: http://joinspoton.github.io/ember-calendar/
Calendar component for Ember.js. http://joinspoton.github.io/ember-calendar/
Building:
$ npm install csso@~1.3.10 ember-handlebars@~1.2.0 shelljs@~0.2.6 uglify-js@~2.4.6
$ node build.js
© 2013 SpotOn, shared under the MIT License.
times: function() {
/* ... */
}.property('headingTimeRangeStart', 'headingTimeRangeStart'),
Last one should be headingTimeRangeEnd.
Was this intended to be used as a true Ember Component? as: http://emberjs.com/guides/components
Hi, I try to use ember-calendar in a project but I've to select day, or week, according to the url of the page. For example /#/calendar/view/11-Nov-2013 must open the day 11/11/2013 and so on. I'm trying to set in the Controller initialDate: '2013-11-11' it works but if I try to setup in the route in this way it doesn't work
App.CalendarIndexRoute = App.ApplicationRoute.extend({
beforeModel: function() {
this.transitionTo('calendar.view', moment().format('DD-MMM-YYYY'));
}
});
App.CalendarViewRoute = App.CalendarIndexRoute.extend({
model: function (params) {
return this.store.find('event', {day: moment(params.day).format('YYYY-MM-DD')});
},
setupController: function(controller, model) {
this.controllerFor('calendar.view').setProperties({
content: model,
initialDate: '2013-11-11'
});
}
});
Is there another way to do this tricks?
Thaks very much
Alessandro
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.