mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
comunication between components
This commit is contained in:
@@ -8,3 +8,11 @@ To install simply run:
|
||||
```
|
||||
bower install --save file-upload
|
||||
```
|
||||
|
||||
# publish-subscribe functionality
|
||||
Add the code below to the main index.html in order to publish an event when a file is uploaded. This event is used by the others components to refresh or make action.
|
||||
|
||||
<template is="dom-bind" id="alfresco-app">
|
||||
<iron-signals on-iron-signal-uploaded="uploadedSignal"></iron-signals>
|
||||
</template>
|
||||
```
|
Reference in New Issue
Block a user