Our pure JavaScript Scheduler component


Post by f.langlais »

Hi,

how to create an object SchedulerCustomTimeAxis in my lwc like this :

        this.SchedulerCustomTimeAxis = new bryntum.scheduler.SchedulerCustomTimeAxis({


    })

BR


Post by alex.l »

Hi,

I don't think you need to use bryntum.scheduler for your custom class. I guess it's your own class that you just imported, so use that name to create an instance

import SchedulerCustomTimeAxis from './folder/SchedulerCustomTimeAxis.js';

// ...
 this.SchedulerCustomTimeAxis = new SchedulerCustomTimeAxis({


})

All the best,
Alex


Post by f.langlais »

Hi,

in lwc, import SchedulerCustomTimeAxis from './folder/SchedulerCustomTimeAxis.js';
isn't possible

BR


Post by f.langlais »

the scheduler.lwc.module.js doesn't contain SchedulerCustomTimeAxis ?
BR


Post by f.langlais »

i can't do that :
import import Scheduler from '../../../lib/Scheduler/view/Scheduler.js';
import DateHelper from '../../../lib/Core/helper/DateHelper.js';
in my lwc


Post by alex.l »

the scheduler.lwc.module.js doesn't contain SchedulerCustomTimeAxis ?

No, this is custom class from one of our examples. If you want to use that, copy that file and import as regular JS class.

All the best,
Alex


Post Reply