mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
options
This commit is contained in:
@@ -86,7 +86,7 @@ In this component are present three different tags :
|
|||||||
* alfresco-tag-list
|
* alfresco-tag-list
|
||||||
* alfresco-tag-node-list
|
* alfresco-tag-node-list
|
||||||
|
|
||||||
##### alfresco-tag-node-actions-list
|
## alfresco-tag-node-actions-list
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<alfresco-tag-node-actions-list [nodeId]="nodeId"></alfresco-tag-node-actions-list>
|
<alfresco-tag-node-actions-list [nodeId]="nodeId"></alfresco-tag-node-actions-list>
|
||||||
@@ -96,13 +96,11 @@ In this component are present three different tags :
|
|||||||
import { Component, OnInit, Input } from '@angular/core';
|
import { Component, OnInit, Input } from '@angular/core';
|
||||||
import { bootstrap } from '@angular/platform-browser-dynamic';
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
||||||
import { HTTP_PROVIDERS } from '@angular/http';
|
import { HTTP_PROVIDERS } from '@angular/http';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ALFRESCO_CORE_PROVIDERS,
|
ALFRESCO_CORE_PROVIDERS,
|
||||||
AlfrescoSettingsService,
|
AlfrescoSettingsService,
|
||||||
AlfrescoAuthenticationService
|
AlfrescoAuthenticationService
|
||||||
} from 'ng2-alfresco-core';
|
} from 'ng2-alfresco-core';
|
||||||
|
|
||||||
import { TAGCOMPONENT, TAGSERVICES } from 'ng2-alfresco-tag';
|
import { TAGCOMPONENT, TAGSERVICES } from 'ng2-alfresco-tag';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -112,7 +110,7 @@ import { TAGCOMPONENT, TAGSERVICES } from 'ng2-alfresco-tag';
|
|||||||
<alfresco-tag-node-actions-list [nodeId]="nodeId"></alfresco-tag-node-actions-list>
|
<alfresco-tag-node-actions-list [nodeId]="nodeId"></alfresco-tag-node-actions-list>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
directives: [TAGCOMPONENT, CONTEXT_MENU_DIRECTIVES],
|
directives: [TAGCOMPONENT],
|
||||||
providers: [TAGSERVICES]
|
providers: [TAGSERVICES]
|
||||||
})
|
})
|
||||||
class TagDemo implements OnInit {
|
class TagDemo implements OnInit {
|
||||||
@@ -161,10 +159,15 @@ bootstrap(TagDemo, [
|
|||||||
]);
|
]);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
Attribute | Options | Default | Description | Mandatory
|
||||||
|
--- | --- | --- | --- | ---
|
||||||
|
`nodeId` | *string* | | The identifier of a node.|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
##### alfresco-tag-node-list
|
## alfresco-tag-node-list
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<alfresco-tag-node-list [nodeId]="nodeId"></alfresco-tag-node-list>
|
<alfresco-tag-node-list [nodeId]="nodeId"></alfresco-tag-node-list>
|
||||||
@@ -174,7 +177,6 @@ bootstrap(TagDemo, [
|
|||||||
import { Component, OnInit, Input } from '@angular/core';
|
import { Component, OnInit, Input } from '@angular/core';
|
||||||
import { bootstrap } from '@angular/platform-browser-dynamic';
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
||||||
import { HTTP_PROVIDERS } from '@angular/http';
|
import { HTTP_PROVIDERS } from '@angular/http';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ALFRESCO_CORE_PROVIDERS,
|
ALFRESCO_CORE_PROVIDERS,
|
||||||
AlfrescoSettingsService,
|
AlfrescoSettingsService,
|
||||||
@@ -190,7 +192,7 @@ import { TAGCOMPONENT, TAGSERVICES } from 'ng2-alfresco-tag';
|
|||||||
<alfresco-tag-node-list [nodeId]="nodeId"></alfresco-tag-node-list>
|
<alfresco-tag-node-list [nodeId]="nodeId"></alfresco-tag-node-list>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
directives: [TAGCOMPONENT, CONTEXT_MENU_DIRECTIVES],
|
directives: [TAGCOMPONENT],
|
||||||
providers: [TAGSERVICES]
|
providers: [TAGSERVICES]
|
||||||
})
|
})
|
||||||
class TagDemo implements OnInit {
|
class TagDemo implements OnInit {
|
||||||
@@ -239,9 +241,15 @@ bootstrap(TagDemo, [
|
|||||||
]);
|
]);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
Attribute | Options | Default | Description | Mandatory
|
||||||
|
--- | --- | --- | --- | ---
|
||||||
|
`nodeId` | *string* | | The identifier of a node.|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
##### alfresco-tag-list
|
## alfresco-tag-list
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<alfresco-tag-list></alfresco-tag-list>
|
<alfresco-tag-list></alfresco-tag-list>
|
||||||
@@ -251,7 +259,6 @@ bootstrap(TagDemo, [
|
|||||||
import { Component, OnInit, Input } from '@angular/core';
|
import { Component, OnInit, Input } from '@angular/core';
|
||||||
import { bootstrap } from '@angular/platform-browser-dynamic';
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
||||||
import { HTTP_PROVIDERS } from '@angular/http';
|
import { HTTP_PROVIDERS } from '@angular/http';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ALFRESCO_CORE_PROVIDERS,
|
ALFRESCO_CORE_PROVIDERS,
|
||||||
AlfrescoSettingsService,
|
AlfrescoSettingsService,
|
||||||
@@ -267,7 +274,7 @@ import { TAGCOMPONENT, TAGSERVICES } from 'ng2-alfresco-tag';
|
|||||||
<alfresco-tag-list></alfresco-tag-list>
|
<alfresco-tag-list></alfresco-tag-list>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
directives: [TAGCOMPONENT, CONTEXT_MENU_DIRECTIVES],
|
directives: [TAGCOMPONENT],
|
||||||
providers: [TAGSERVICES]
|
providers: [TAGSERVICES]
|
||||||
})
|
})
|
||||||
class TagDemo implements OnInit {
|
class TagDemo implements OnInit {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ import { TAGCOMPONENT, TAGSERVICES } from 'ng2-alfresco-tag';
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
directives: [TAGCOMPONENT, CONTEXT_MENU_DIRECTIVES],
|
directives: [TAGCOMPONENT],
|
||||||
providers: [TAGSERVICES]
|
providers: [TAGSERVICES]
|
||||||
})
|
})
|
||||||
class TagDemo implements OnInit {
|
class TagDemo implements OnInit {
|
||||||
|
|||||||
Reference in New Issue
Block a user