Agenda (calendar) based on angular-calendar.
Package on NPM.
To install
npm i --save @idea-ionic/agenda
Be sure to install all the requested peer dependencies.
Then, add this imports into the global.scss
file, after the import on the top of the page:
@import '../node_modules/angular-calendar/css/angular-calendar.css';
@import '../node_modules/@idea-ionic/agenda/css/global.scss';
To make sure the translations are loaded into the project:
- in the project's
assets/configs/idea-config.js
file, add the string 'agenda'
to the array window.IDEA_IONIC_MODULES
; - copy the
i18n/agenda
folder (you can filter the languages you need) of the module in the project's assets/i18n
folder.
Finally, add the according configuration (if needed) in the assets/configs/idea-config.js
:
window.IDEA_MICROSOFT_API_CLIENT_ID: string;
window.IDEA_MICROSOFT_API_SCOPE: string;
window.IDEA_GOOGLE_API_CLIENT_ID: string;
window.IDEA_GOOGLE_API_SCOPE: string;
window.IDEA_APP_URL: string;
Components
Services