All the Angular2 based Alfresco web components can be found in the following GitHub project:https://github.com/Alfresco/alfresco-ng2-components
Each component, such as the datatable, has its own sample that demonstrates the use of it.
Description: The datatable component can be used to display arbitrary data in a table:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-datatable
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-datatabl...
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-datatabl...
How to run sample (note. does not require the Alfresco server to be running):
Alternative way to build and start demo (step 3-4) if above instructions does not work (sudo might be needed on linux):
Description: The document list component can be used to display content node metadata in a list. Each row in the list has a number of columns representing a content node’s metadata:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-documentlist
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-document...
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-document...
How to run sample:
Alternative way to build and start demo (step 5-6) if above instructions does not work (sudo might be needed on linux):
Description: The login component is used to provide an Alfresco Platform login dialog:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-login
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-login
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-login/de...
How to run sample:
Alternative way to build and start demo (step 5-6) if above instructions does not work (sudo might be needed on linux):
Description: The search component is actually two components: Search Control, which displays a search box where the user can enter a query, and Search Result, which displays the search result from that query.
Instant search via Search Control:
Search Result screen:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-search
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-search
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-search/d...
How to run sample:
Alternative way to build and start demo (step 5-6) if above instructions does not work (sudo might be needed on linux):
Description: The upload component can be used to provide a button for a file upload dialog. It actually consist of two components: Upload Button and Drag and Drop, depending on what the user prefers and what you want to provide:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-upload
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-upload
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-upload/d...
How to run sample:
Alternative way to build and start demo (step 5-6) if above instructions does not work (sudo might be needed on linux):
Description: The viewer component provides file previews:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-viewer
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-viewer
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-viewer/d...
How to run sample (note. does not require the Alfresco server to be running):
Alternative way to build and start demo (step 3-4) if above instructions does not work (sudo might be needed on linux):