mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1586] Updated paths of import statements in docs (#2735)
This commit is contained in:
committed by
Eugenio Romano
parent
8834b0c2d2
commit
2f07fa339d
@@ -80,7 +80,7 @@ When designing a component you want to work this directive with, you have two im
|
||||
The component has to implement the NodePermissionSubject interface which basically means it has to have a boolean **disabled** property. This is the property which will be set by the directive.
|
||||
|
||||
```js
|
||||
import { NodePermissionSubject } from 'ng2-alfresco-core';
|
||||
import { NodePermissionSubject } from 'lib/core/directives';
|
||||
|
||||
@Component({...})
|
||||
export class UploadDragAreaComponent implements NodePermissionSubject {
|
||||
@@ -98,7 +98,7 @@ The directive will look up the component in the dependency injection tree, up to
|
||||
- because of the emphasized second sentence you have to provide your component as a viewProvider.
|
||||
|
||||
```js
|
||||
import { EXTENDIBLE_COMPONENT } from 'ng2-alfresco-core';
|
||||
import { EXTENDIBLE_COMPONENT } from 'lib/core/interface';
|
||||
|
||||
@Component({
|
||||
...
|
||||
|
Reference in New Issue
Block a user