search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Vue.js: export and download scheduler as svg

Asked by Max
2 years ago.

how can I export to svg by using the scheduler with vue.js. I'm still validating and using the trial version. I tried the tutorial but the function "exportAs" couldn't be found and nothing helped me. Thank you so far.

Answer posted by Dan Letecky [DayPilot]
2 years ago.

If you follow this tutorial:

you will be able to access the DayPilot.Scheduler object as "this.scheduler". It's a computed property defined like this:

computed: {
    // DayPilot.Scheduler object
    scheduler: function () {
        return this.$refs.scheduler.control;

You can use it to invoke the DayPilot.Scheduler methods (, including exportAs():

methods: {
    schedulerExport(): function() {

Comment posted by Max
2 years ago.

Thank you, that was helpful.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.