mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
@@ -20,7 +20,7 @@ Defines column properties for DataTable, Tasklist, Document List and other compo
|
||||
- [Custom tooltips](#custom-tooltips)
|
||||
- [Column Template](#column-template)
|
||||
- [Styling Techniques](#styling-techniques)
|
||||
- [Using the `copyContent` option](#using-the-copycontent-option)
|
||||
- [Using the copyContent option](#using-the-copycontent-option)
|
||||
- [See also](#see-also)
|
||||
|
||||
## Basic Usage
|
||||
@@ -303,7 +303,7 @@ Now you can declare columns and assign the `desktop-only` class where needed:
|
||||
### Using the `copyContent` option
|
||||
|
||||
When the `copyContent` property is true, a
|
||||
Clipboard directive
|
||||
[Clipboard directive](../../core/directives/clipboard.directive.md)
|
||||
is added to each cell in the column. This lets the user copy the cell content
|
||||
to the clipboard with a mouse click.
|
||||
|
||||
@@ -328,6 +328,7 @@ HTML `<data-column>` element example:
|
||||
</data-columns>
|
||||
</adf-tasklist>
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
- [Document list component](../../content-services/components/document-list.component.md)
|
||||
|
@@ -311,7 +311,7 @@ while the data for the table is loading:
|
||||
}
|
||||
```
|
||||
|
||||
###Styling transcluded content
|
||||
\###Styling transcluded content
|
||||
|
||||
When adding your custom templates you can style them as you like. However, for an out of the box experience, if you want to apply datatable styles to your column you will need to follow this structure:
|
||||
|
||||
|
@@ -23,7 +23,7 @@ this.router.navigate(['/error', errorCode]);
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
| ---- | ---- | ------------- | ----------- |
|
||||
| errorCode | `string` | "UNKNOWN" | Error code associated with this error. |
|
||||
| errorCode | `string` | | Error code associated with this error. |
|
||||
| returnButtonUrl | `string` | "/" | Target URL for the return button. |
|
||||
| secondaryButtonUrl | `string` | "report-issue" | Target URL for the secondary button. |
|
||||
|
||||
|
@@ -38,8 +38,8 @@ uses `<adf-form-field>` components to render the form fields.
|
||||
|
||||
Forms defined in APS have the following default mappings for the form fields:
|
||||
|
||||
| _APS [Form](../../../lib/process-services/task-list/models/form.model.ts) Designer_ Widget | Field Type | Component Type |
|
||||
| ------------------------------------------------------------------------------------------ | ---------- | -------------- |
|
||||
| _APS [`Form`](../../../lib/process-services/task-list/models/form.model.ts) Designer_ Widget | Field Type | Component Type |
|
||||
| -------------------------------------------------------------------------------------------- | ---------- | -------------- |
|
||||
| Text | text | [`TextWidgetComponent`](../../../lib/core/form/components/widgets/text/text.widget.ts) |
|
||||
| Multi-line text | multi-line-text | [`MultilineTextWidgetComponentComponent`](../../../lib/core/form/components/widgets/multiline-text/multiline-text.widget.ts) |
|
||||
| Number | integer | [`NumberWidgetComponent`](../../../lib/core/form/components/widgets/number/number.widget.ts) |
|
||||
|
@@ -40,7 +40,7 @@ Adds "infinite" pagination to the component it is used with.
|
||||
| ---- | ---- | ------------- | ----------- |
|
||||
| isLoading | `boolean` | false | Is a new page loading? |
|
||||
| pageSize | `number` | | Number of items that are added with each "load more" event. |
|
||||
| target | | | Component that provides custom pagination support. |
|
||||
| target | [`PaginatedComponent`](../../../lib/core/pagination/paginated-component.interface.ts) | | Component that provides custom pagination support. |
|
||||
|
||||
### Events
|
||||
|
||||
|
@@ -69,13 +69,13 @@ sub-components (note the use of `<ng-template>` in the sub-components' body sect
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
| ---- | ---- | ------------- | ----------- |
|
||||
| direction | `string` | "ltr" | The direction of the layout. 'ltr' or 'rtl' |
|
||||
| expandedSidenav | `boolean` | true | Should the navigation region be expanded initially? |
|
||||
| hideSidenav | `boolean` | false | Toggles showing/hiding the navigation region. |
|
||||
| position | `string` | "start" | The side that the drawer is attached to. Possible values are 'start' and 'end'. |
|
||||
| sidenavMax | `number` | | Maximum size of the navigation region. |
|
||||
| sidenavMin | `number` | | Minimum size of the navigation region. |
|
||||
| stepOver | `number` | | Screen size at which display switches from small screen to large screen configuration. |
|
||||
| direction | `string` | `ltr` | The direction of the layout. 'ltr' or 'rtl' |
|
||||
|
||||
### Events
|
||||
|
||||
|
@@ -5,7 +5,7 @@ Status: Active
|
||||
Last reviewed: 2018-06-08
|
||||
---
|
||||
|
||||
# [Start Form component](../../../lib/core/form/components/start-form.component.ts "Defined in start-form.component.ts")
|
||||
# [Start Form component](../../../lib/process-services/form/start-form.component.ts "Defined in start-form.component.ts")
|
||||
|
||||
Displays the Start [`Form`](../../../lib/process-services/task-list/models/form.model.ts) for a process.
|
||||
|
||||
@@ -42,7 +42,6 @@ Displays the Start [`Form`](../../../lib/process-services/task-list/models/form.
|
||||
| readOnlyForm | `boolean` | false | Is the form read-only (ie, can't be edited)? |
|
||||
| saveMetadata | `boolean` | false | Toggle saving of form metadata. |
|
||||
| showCompleteButton | `boolean` | true | Toggle rendering of the `Complete` outcome button. |
|
||||
| showDebugButton | `boolean` | false | Toggle debug options. |
|
||||
| showOutcomeButtons | `boolean` | true | Should form outcome buttons be shown? |
|
||||
| showRefreshButton | `boolean` | true | Should the refresh button be shown? |
|
||||
| showSaveButton | `boolean` | true | Toggle rendering of the `Save` outcome button. |
|
||||
|
@@ -24,7 +24,7 @@ See it live: [Viewer Quickstart](https://embed.plnkr.co/iTuG1lFIXfsP95l6bDW6/)
|
||||
- [Custom file parameters](#custom-file-parameters)
|
||||
- [Supported file formats](#supported-file-formats)
|
||||
- [Content Renditions](#content-renditions)
|
||||
- [Configuring PDF.js library](#configuring-pdf-js-library)
|
||||
- [Configuring PDF.js library](#configuring-pdfjs-library)
|
||||
- [Extending the Viewer](#extending-the-viewer)
|
||||
- [Custom layout](#custom-layout)
|
||||
- [Printing](#printing)
|
||||
@@ -475,7 +475,7 @@ Note: For the pdf viewer the value has to be within the range of 25 - 1000.
|
||||
"adf-viewer": {
|
||||
"pdf-viewer-scaling": 150
|
||||
}
|
||||
|
||||
|
||||
In the same way you can set a default zoom scaling value for the image viewer by adding the following code in `app.config.json`.
|
||||
|
||||
"adf-viewer": {
|
||||
|
Reference in New Issue
Block a user