React - Using Scheduler without the wrapper

Our pure JavaScript Scheduler component
Post Reply
User avatar
Posts: 14
Joined: Tue Aug 06, 2019 10:07 am

React - Using Scheduler without the wrapper

Post by Mattis » Wed Aug 14, 2019 3:03 pm


Can u priovide an example of how to use the scheduler without the wrapper. The information provided on is very limited.

I would like to se an example of the schedulerConfig.js file and how an how an scheduler on another .js file would consume the schedulerConfig.js.

User avatar
Maxim Gorkovsky
Core Developer
Core Developer
Posts: 2994
Joined: Wed Jan 08, 2014 11:46 am

Re: React - Using Scheduler without the wrapper

Post by Maxim Gorkovsky » Wed Aug 14, 2019 3:45 pm

Scheduler is a standalone component and not a part of react framework. That's why we provide wrapper which shows how to use scheduler inside the react app.
If you don't want to use the wrapper, I guess you want to use it as a regular js class? In that case please see any scheduler demo.

Config can be imported as any other object with es modules system:

Code: Select all

// config.js
export default {
  appendTo : document.body

// app.js
import config from "config.js";
import { Scheduler } from "scheduler.module.js";

new Scheduler(config)
If you need more information, please tell how do you want to use the scheduler and provide more information about your requirements.

Post Reply