GithubHelp home page GithubHelp logo

javymb / angular-fullcalendar Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 7.0 29 KB

A quick Directive for implement Fullcalendar.js on your AngularJS app

Home Page: https://javymb.github.io/angular-fullcalendar/

License: MIT License

JavaScript 100.00%

angular-fullcalendar's People

Contributors

javymb avatar letsan avatar manishoko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

angular-fullcalendar's Issues

$(...).fullCalendar is not a function

I have a separate date picker directive that I need to use in my app. I'm trying to trigger the gotoDate fullcalendar method in my controller when a user selects a date from the date picker directive, but when I use $('.fullcalendar').fullCalendar('gotoDate', dateVar); I get a console error '$(...).fullCalendar is not a function'.

The calendar renders just fine, so I'm not sure why I can't use additional methods outside the $scope.calendarOptions object. Is this possible with angular-fullcalendar?

How to call fullcalendar methods?

Hi, what is proper way to call fullcalendar methods? For example render method or methods to programatically change actual date and so on? I couldn't find it anywhere

Trying to add a new event dynamically but not added

Hello,
I am trying to add an event fetching data from server just fetching the date and time and showing the events on calendar but not able to do it can you help me for this problem

here is the code that i am using i am just adding your function and not doing anything else i a have a events by default created is there

//defaule events object

$scope.events = [
{
title: 'Demo Event',
start: new moment(),// :) how you can use Date
description: 'This is a cool event',
color: '#5f6dd0'
},
{
title: 'My Event',
start: new moment().add(1, 'days'), // :) or MomentJS
description: 'This is a cool event',
color: '#af6dd0'
}
];

for (key in data) {
console.log(moment(key, "DD/MM/YYYY HH:mm:ss"));
addEvent();
}

var count = 0;
function addEvent() {
debugger;
$scope.events.push({
title: 'Event ' + count,
start: new moment(),
description: 'This is a cool event',
color: '#5f6dd0'
});
count++;
}

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.