Gathering detailed insights and metrics for ember-cli-full-calendar
Gathering detailed insights and metrics for ember-cli-full-calendar
Gathering detailed insights and metrics for ember-cli-full-calendar
Gathering detailed insights and metrics for ember-cli-full-calendar
npm install ember-cli-full-calendar
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (84.74%)
HTML (15.26%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
24 Stars
152 Commits
31 Forks
4 Watchers
2 Branches
21 Contributors
Updated on Jan 18, 2024
Latest Version
0.1.4
Package Id
ember-cli-full-calendar@0.1.4
Size
5.82 kB
NPM Version
2.15.3
Node Version
0.12.13
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
16
This is a Ember wrapper for jQuery FullCalendar plugin.
Some of the common properties, methods have been hooked up. The rest will be added as required.
First, install the npm package:
npm install --save-dev ember-cli-full-calendar
Next, setup the component:
ember g full-calendar
Use the full-calendar
component -
{{full-calendar events=events}}
For the actions to work we need to register a property that will allow us to access FullCalendar element from our controller.
// app/templates/application.hbs
{{full-calendar
events=events
defaultView="agendaWeek"
allDaySlot=false
register-as="accessToFullCalendar"
nowIndicator=true}}
Sending actions from controller to FullCalendar:
// app/controllers/application.js
export default Ember.Controller.extend({
accessToFullCalendar: null,
actions: {
prev: function() {
this.get('accessToFullCalendar').send('prev');
}
}
});
prev
this.get('accessToFullCalendar').send('prev')
next
this.get('accessToFullCalendar').send('next')
prevYear
this.get('accessToFullCalendar').send('prevYear')
nextYear
this.get('accessToFullCalendar').send('nextYear')
gotoDate
this.get('accessToFullCalendar').send('gotoDate', new Date(2014, 1, 1))
incrementDate
this.get('accessToFullCalendar').send('incrementDate', {months:1})
Please check dummy app in tests for usage example.
renderEvent (method)
this.get('accessToFullCalendar').send('renderEvent', {title: "New Event", start: new Date(2014, 1, 1)})
rerenderEvents (method)
this.get('accessToFullCalendar').send('rerenderEvents')
All supported callbacks can be captured using Ember actions.
Add the component to your template file.
1// app/templates/application.hbs 2{{full-calendar events=model.events eventClick=(action "clicked") }}
Create the events.
1// app/routes/application.js 2import Ember from 'ember'; 3 4export default Ember.Route.extend({ 5 model: function() { 6 return { 7 events: Ember.A([{ 8 title: "Hackathon", start: Date.now() 9 }]) 10 }; 11 } 12});
Register for the action in your controller.
1// app/controllers/application.js 2import Ember from 'ember'; 3 4export default Ember.Controller.extend({ 5 actions: { 6 clicked(event, jsEvent, view){ 7 console.log(`${event.title} was clicked!`) 8 // Prints: Hackathon was clicked! 9 } 10 } 11});
Include the language file.
1// ember-cli-build.js 2module.exports = function(defaults) { 3 var app = ... 4 5 // Include fullcalendar language file 6 // Full list of available languages: https://github.com/fullcalendar/fullcalendar/tree/master/dist/lang 7 app.import('bower_components/fullcalendar/dist/lang/es.js'); 8};
Set fullcalendar language
1// app/templates/application.hbs 2{{full-calendar events=model.events lang="es"}}
Available under the MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 6/26 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More