This project was generated with Angular CLI version 13.3.0.
The integration is created as a Miro Web-Plugin where the Digizuite Unified DAM Connector is embedded into miro. A blogpost can be found here
Following have been added to index.html
<script src="https://miro.com/app/static/sdk/v2/miro.js"></script>
Ensuring also to init miro on onInit of the app.comonent
async ngOnInit() {
const miro = window['miro'];
await miro.board.ui.on('icon:click', async () => {
await miro.board.ui.openPanel({ url: '', height: 720 });
});
}
On click of an asset then create the image with the following
await miro.board.createImage({ title: asset.title, url: asset.downloadUrl });
Please read the Unified DAM Conenctor documentation for more information [here])https://digizuite.atlassian.net/wiki/spaces/DD/pages/3092348945/MM5.5+Unified+DAM+Connector).
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.