Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New methods for Schedule #495

Closed
karser opened this issue Jun 17, 2016 · 1 comment
Closed

New methods for Schedule #495

karser opened this issue Jun 17, 2016 · 1 comment
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@karser
Copy link

karser commented Jun 17, 2016

Hello, thanks for awesome components!
I have a small question, is there a way to obtain fullCalendar instance from schedule component?
For instance, in order to call gotoDate method I have to do the following:

jQuery('.ui-widget').fullCalendar('gotoDate', date);
@cagataycivici cagataycivici changed the title [schedule] gotoDate method New methods for Schedule Jun 19, 2016
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Jun 19, 2016
@cagataycivici cagataycivici added this to the 1.0.0-beta.9 milestone Jun 19, 2016
@cagataycivici cagataycivici self-assigned this Jun 19, 2016
@cagataycivici
Copy link
Member

Added new methods;

prev(), next(), prevYear(), nextYear(), gotoDate(date), incrementDate(duration), getDate(), today()

<p-schedule [events]="events" #fc></p-schedule>

<button type="button" pButton (click)="back(fc)"></p-button>
export class MyModel {

    back(fc) {
        fc.prev();
    }

}

atretyak1985 pushed a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
[NNTR-482]UI for Compliance Issues report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

2 participants