Skip to content

Commit

Permalink
Merge pull request #2 from haverchuck/dustin-edit
Browse files Browse the repository at this point in the history
Dustin edit
  • Loading branch information
mbahar authored Jul 16, 2018
2 parents 113707e + ea4796e commit ac65ca2
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 133 deletions.
21 changes: 21 additions & 0 deletions docs/media/angular_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,27 @@ Currently, the newest version of Angular (6.x) does not provide the shim for the
</script>
```

## Ionic 4 Components
The Angular components included in this library can optionally be presented with Ionic-specific styling. To do so, simply include the ```AmplifyIonicModule``` alongside the ```AmplifyAngularModule```. Then, pass in ```framework="Ionic"``` into the component.

Example:

```html
...
<amplify-authenticator framework="Ionic"></amplify-authenticator>
...
```

This will cause a ```ComponentFactoryResolver``` to display an Ionic version of the desired component. You can also bypass the ```ComponentFactoryResolver``` by using the vanilla Angular or Ionic components directly using the ```-core``` or ```-ionic``` suffix.

Example:

```html
...
<amplify-authenticator-ionic></amplify-authenticator-ionic>
...
```

## Tutorials

Learn more with tutorials:
Expand Down
Loading

0 comments on commit ac65ca2

Please sign in to comment.