I am evaluating your product using the trial version, and I am using webpack and angular 2+ for my application, and need to know what would be the way of how I could get a reference to the object in this library.
I know there is a version for anuglar 2+, but I noticed it does not have all the features of the JS library. Hence my effort to include the JS library with webpack instead of the angular 2+ version.
Could you kindly help me out here, my code is listed below,
///<reference path="../../js/daypilot-all.min.d.ts" />
import { Component, OnInit } from '@angular/core';
import DayPilot = require('../../js/daypilot-all.min.js');
@Component({
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.scss']
})
export class DashboardComponent implements OnInit {
ngOnInit() {
var dp = new DayPilot.DayPilot.Scheduler("dp");
//dp is an empty object.
debugger;
}
}`