ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
387 stars 48 forks source link
angular angular-components angular-material autocomplete checkbox-group color-picker data-grid datetimepicker material-color-picker material-data-table ng-matero ng-select ngx-color ngx-color-picker ngx-data-grid ngx-popover popover typeahead

Ng-Matero Extensions

CodeFactor npm GitHub Release Date license Gitter

The Ng-Matero Extensions is an extended component library for Angular Material.

Documentation

Check out the demos and APIs.

Installation

At first, you should install the Angular Material and setup it. Learn more about the setup.

Install the Extensions library:

$ npm install @ng-matero/extensions --save

Setup

Import the modules you need, e.g. data-grid and select.

import { MtxGridModule } from '@ng-matero/extensions/grid';
import { MtxSelectModule } from '@ng-matero/extensions/select';

@NgModule({
  ...
  imports: [MtxGridModule, MtxSelectModule, ...],
  ...
})
export class YourAppModule {
}

Theming

After import modules, you must define a theme. More about theming.

@use '@ng-matero/extensions' as mtx;

@include mtx.all-component-themes($theme);

The @use-based Sass API is only available in the version 12.0.0 or above.

Development

$ git clone git@github.com:ng-matero/extensions.git
$ cd extensions
$ yarn
$ yarn run start

Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

License

MIT