|
| 1 | +<p align="center"> |
| 2 | + <img alt="angular-material-extensions's logo" |
| 3 | + height="256px" width="256px" style="text-align: center;" |
| 4 | + src="https://cdn.rawgit.com/angular-material-extensions/core/master/assets/angular-material-extensions-logo.svg"> |
| 5 | +</p> |
| 6 | + |
| 7 | +# @angular-material-extensions/core - `MatDialogModule` contains a set of prebuilt extended angular material dialogs, simple API and easy to use. |
| 8 | + |
| 9 | +## Table of Contents |
| 10 | +- [Demo](#demo) |
| 11 | +- [Dependencies](#dependencies) |
| 12 | +- [Installation](#installation) |
| 13 | +- [API](#api) |
| 14 | +- [Usage](#usage) |
| 15 | +- [Other Angular Libraries](#other-angular-libraries) |
| 16 | +- [Support](#support) |
| 17 | +- [License](#license) |
| 18 | + |
| 19 | +## [Demo](https://angular-material-extensions.github.io/core/dialogs) |
| 20 | + |
| 21 | +View all the directives in action at https://angular-material-extensions.github.io/core/dialogs |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +<a name="dependencies"/> |
| 26 | + |
| 27 | +## Dependencies |
| 28 | +* [Angular](https://angular.io) developed and tested with `7.x` |
| 29 | + |
| 30 | +--- |
| 31 | + |
| 32 | +<a name="installation"/> |
| 33 | + |
| 34 | +## Installation |
| 35 | + |
| 36 | +Now install `@angular-material-extensions/core` via: |
| 37 | +```shell |
| 38 | +npm install --save @angular-material-extensions/core |
| 39 | +``` |
| 40 | + |
| 41 | +## Import the library |
| 42 | + |
| 43 | +Once installed you need to import the main module: |
| 44 | +```js |
| 45 | +import { MatDialogsModule } from '@angular-material-extensions/core'; |
| 46 | +``` |
| 47 | +The only remaining part is to list the imported module in your application module. The exact method will be slightly |
| 48 | +different for the root (top-level) module for which you should end up with the code similar to (notice ` MatPasswordStrengthModule .forRoot()`): |
| 49 | +```js |
| 50 | +import { MatDialogsModule } from '@angular-material-extensions/core'; |
| 51 | +import { MatDialogModule } from '@angular/material'; |
| 52 | + |
| 53 | +@NgModule({ |
| 54 | + declarations: [AppComponent, ...], |
| 55 | + imports: [ |
| 56 | + MatDialogsModule, |
| 57 | + MatDialogModule, |
| 58 | + ...], |
| 59 | + bootstrap: [AppComponent] |
| 60 | +}) |
| 61 | +export class AppModule { |
| 62 | + |
| 63 | + constructor(public dialog: MatDialog) { |
| 64 | + } |
| 65 | +} |
| 66 | +``` |
| 67 | + |
| 68 | +--- |
| 69 | +##### SystemJS |
| 70 | +>**Note**:If you are using `SystemJS`, you should adjust your configuration to point to the UMD bundle. |
| 71 | +In your systemjs config file, `map` needs to tell the System loader where to look for `@angular-material-extensions/core`: |
| 72 | +```js |
| 73 | +map: { |
| 74 | + '@angular-material-extensions/password-strength': 'node_modules/@angular-material-extensions/core/bundles/core.umd.js', |
| 75 | +} |
| 76 | +``` |
| 77 | + |
| 78 | +<a name="usage"/> |
| 79 | + |
| 80 | +## Usage |
| 81 | + |
| 82 | +## Other Angular Libraries |
| 83 | +- [ngx-auth-firebaseui](https://github.com/AnthonyNahas/ngx-auth-firebaseui) |
| 84 | +- [ngx-linkifyjs](https://github.com/AnthonyNahas/ngx-linkifyjs) |
| 85 | +- [@firebaseui/ng-bootstrap](https://github.com/firebaseui/ng-bootstrap) |
| 86 | +- [@angular-material-extensions/password-strength](https://github.com/angular-material-extensions/password-strength) |
| 87 | +- [@angular-material-extensions/google-maps-autocomplete](https://github.com/angular-material-extensions/google-maps-autocomplete) |
| 88 | +- [@angular-material-extensions/link-preview](https://github.com/angular-material-extensions/link-preview) |
| 89 | +- [@angular-material-extensions/pages](https://github.com/angular-material-extensions/pages) |
| 90 | +- [@angular-material-extensions/contacts](https://github.com/angular-material-extensions/contacts) |
| 91 | +- [@angular-material-extensions/faq](https://github.com/angular-material-extensions/faq) |
| 92 | +- [@angular-material-extensions/combination-generator](https://github.com/angular-material-extensions/combination-generator) |
| 93 | + |
| 94 | +--- |
| 95 | + |
| 96 | +<a name="support"/> |
| 97 | + |
| 98 | +## Support |
| 99 | ++ Drop an email to: [Anthony Nahas](mailto:anthony.na@hotmail.de) |
| 100 | ++ or open an appropriate [issue](https://github.com/angular-material-extensions/password-strength/issues) |
| 101 | ++ let us chat on [Gitter](https://gitter.im/angular-material-extensions/Lobby) |
| 102 | + |
| 103 | + Built by and for developers :heart: we will help you :punch: |
| 104 | + |
| 105 | +--- |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | +This project is supported by [jetbrains](https://www.jetbrains.com/) with 1 ALL PRODUCTS PACK OS LICENSE incl. [webstorm](https://www.jetbrains.com/webstorm) |
| 110 | + |
| 111 | +--- |
| 112 | + |
| 113 | +## License |
| 114 | + |
| 115 | +Copyright (c) 2019 Anthony Nahas. Licensed under the MIT License (MIT) |
| 116 | + |
0 commit comments