Re: [ANGULAR] Troubles in integration with Angular
Posted: Wed Jul 01, 2020 8:10 pm
by mats
Could you please describe the troubles you are facing? The images you added do not load, please attach again.
Re: [ANGULAR] Troubles in integration with Angular
Posted: Wed Jul 01, 2020 8:16 pm
by freePlusxx01
I inserted a link to images, take a look
Re: [ANGULAR] Troubles in integration with Angular
Posted: Wed Jul 01, 2020 9:52 pm
by saki
This version of calendar does not yet contain Angular wrappers and demo. I'm attaching the upcoming implementation that will be available in next release or nightly builds. Unzip the file in examples, so that you have examples/frameworks. Then change to examples/frameworks/angular/resource-histogram and npm i && npm start will spin up the angular demo.
Re: [ANGULAR] Troubles in integration with Angular
Posted: Tue Jul 28, 2020 5:17 pm
by freePlusxx01
I'm inside the folder examples/frameworks/angular but it has not "resource-histogram", only the folder filtering.
Re: [ANGULAR] Troubles in integration with Angular
Posted: Tue Jul 28, 2020 5:32 pm
by Maxim Gorkovsky
Please check latest calendar nightly build, it should contain wrappers already.
Re: [ANGULAR] Troubles in integration with Angular
Posted: Tue Jul 28, 2020 8:06 pm
by freePlusxx01
I downloaded calendar-1.0.1-trial and I'm still with troubles. In the documentation it says thay exists bryntum-angular-shared located in examples/angular/_shared folder, but doesn't exist the folder angular. Take a look: https://slack-files.com/TCE5WRQR0-F017F3RNEUX-51b34c560f.
Could you review the integration guide to angular and tell me what I'm doing wrong?
Re: [ANGULAR] Troubles in integration with Angular
Posted: Wed Jul 29, 2020 10:07 am
by saki
Actually, the sources of the wrappers are located in examples/frameworks/npm/angular/projects/calendar/src/lib/.
But when it say "You can copy the source wrapper file from the shared library sources to your project.", where in my project I insert the file now located in calendar-1.0.1-trial\examples\frameworks\npm\angular\projects\calendar\src\lib\calendar.component.ts?
Re: [ANGULAR] Troubles in integration with Angular
Posted: Wed Jul 29, 2020 2:59 pm
by saki
You can copy it anywhere in your project, for example, to keep your project folder organized, you can create directory src/app/wrappers and copy the wrapper there. This is only a suggestion; just follow your ways or standards.
Then you have to import it, of course:
@import { CalendarComponent } from 'wrappers/calendar.component';