mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4152] Restructured remaining doc folders and fixed links (#4441)
* [ADF-4152] Moved proc services cloud docs to subfolders * [ADF-4152] Fixed links in PS cloud docs * [ADF-4152] Added subfolders and checked links for extensions and insights docs * [ADF-4152] Moved proc services cloud docs to subfolders * [ADF-4152] Fixed links in PS cloud docs * [ADF-4152] Added subfolders and checked links for extensions and insights docs * [ADF-4152] Fixed links in Proc cloud, Insights and Extensions docs * [ADF-4152] Updated links in user guide * [ADF-4152] Fixed broken links in tutorials * [ADF-4152] Fixed remaining links in core docs * [ADF-4152] Fixed remaining links in proc services docs * [ADF-4152] Fixed remaining links in content services docs * [ADF-4152] Fixed links in breaking changes docs * [ADF-4152] Updated main README index page * [ADF-4152] Fixed glitches with preview ext component docs
This commit is contained in:
committed by
Eugenio Romano
parent
8edf92f325
commit
31479cfaa4
@@ -9,7 +9,7 @@ In this tutorial you will learn how to extend, use and configure ADF Components.
|
||||
|
||||

|
||||
|
||||
We will be customizing the [Login component](../core/login.component.md) as an example, where we will remove the `Remember me`, `Need Help?` and `Register` links in the footer and setup an event listener that displays an alert when the login form is submitted. We will finish off by setting up a custom footer.
|
||||
We will be customizing the [Login component](../core/components/login.component.md) as an example, where we will remove the `Remember me`, `Need Help?` and `Register` links in the footer and setup an event listener that displays an alert when the login form is submitted. We will finish off by setting up a custom footer.
|
||||
|
||||
The final result will look like this:
|
||||
|
||||
@@ -21,7 +21,7 @@ We have carefully picked these three customizations because they cover the three
|
||||
2. Event Listeners
|
||||
3. HTML Extensions / _Content Projection_
|
||||
|
||||
You should always consult the documentation for the component you are looking to use. For this exercise it would be useful to open a browser window with the [Login Component](../core/login.component.md)
|
||||
You should always consult the documentation for the component you are looking to use. For this exercise it would be useful to open a browser window with the [Login Component](../core/components/login.component.md)
|
||||
documentation.
|
||||
|
||||
Let's do a practical example with each approach.
|
||||
@@ -68,7 +68,7 @@ Save the file. The browser will automatically reload once the file is saved. The
|
||||
|
||||
Now that we've successfully configured properties on the `<adf-login/>` component, it's time to look at events.
|
||||
|
||||
Again, looking at the [Login Component](../core/login.component.md)
|
||||
Again, looking at the [Login Component](../core/components/login.component.md)
|
||||
docs, we can see that it emits three events: `success`, `error` and `executeSubmit`.
|
||||
|
||||
We can subscribe to these events and have our custom code executed when these events are emitted. Let's hook into the `executeSubmit` and do a simple `alert()` when the form is submitted.
|
||||
@@ -115,7 +115,7 @@ export class LoginComponent {
|
||||
}
|
||||
```
|
||||
|
||||
Save the files, go to the [login component,](../core/login.component.md) enter a valid username and password and you should now see an alert. Looking in the console in the browser, you'll see the event data. Here we get all the details for the form.
|
||||
Save the files, go to the [login component,](../core/components/login.component.md) enter a valid username and password and you should now see an alert. Looking in the console in the browser, you'll see the event data. Here we get all the details for the form.
|
||||
|
||||
## Content Projection / HTMl Extensions
|
||||
|
||||
@@ -163,7 +163,7 @@ Inside the `<adf-login-footer/>` or `<adf-login-header/>` tags we can put anythi
|
||||
|
||||
### Bonus objective: Add a custom logo and background to the login screen
|
||||
|
||||
Are you up for a challenge? Explore the [Login component](../core/login.component.md)
|
||||
Are you up for a challenge? Explore the [Login component](../core/components/login.component.md)
|
||||
docs to find out how you can change the logo and background image!
|
||||
|
||||
# Next steps
|
||||
|
Reference in New Issue
Block a user