@ngbracket/ngx-layout
Advanced tools
Comparing version 16.1.1 to 16.1.2
{ | ||
"name": "@ngbracket/ngx-layout", | ||
"version": "16.1.1", | ||
"version": "16.1.2", | ||
"exports": { | ||
@@ -38,2 +38,8 @@ "./mq": { | ||
}, | ||
"./extended": { | ||
"types": "./extended/index.d.ts", | ||
"esm2022": "./esm2022/extended/ngbracket-ngx-layout-extended.mjs", | ||
"esm": "./esm2022/extended/ngbracket-ngx-layout-extended.mjs", | ||
"default": "./fesm2022/ngbracket-ngx-layout-extended.mjs" | ||
}, | ||
"./grid": { | ||
@@ -45,8 +51,2 @@ "types": "./grid/index.d.ts", | ||
}, | ||
"./extended": { | ||
"types": "./extended/index.d.ts", | ||
"esm2022": "./esm2022/extended/ngbracket-ngx-layout-extended.mjs", | ||
"esm": "./esm2022/extended/ngbracket-ngx-layout-extended.mjs", | ||
"default": "./fesm2022/ngbracket-ngx-layout-extended.mjs" | ||
}, | ||
"./server": { | ||
@@ -53,0 +53,0 @@ "types": "./server/index.d.ts", |
@@ -1,42 +0,6 @@ | ||
# @ngbracket/ngx-layout | ||
# ngx-layout | ||
### The Angular team no longer publishes new releases of this project. Please see [this article](https://medium.com/@caerus.karu/farewell-flex-layout-aaa567023769) for the explanation and next steps. | ||
The sources for this package are in the main [ngbracket/ngx-layout](https://github.com/ngbracket/ngx-layout) repo. | ||
Please file issues and pull requests against that repo. | ||
This project is a port of @angular/flex-layout as this is still a very well used library and something I have used extensively in the past, and wanted to give something back to the Angular community by trying to keep this project alive for as long as possible. | ||
If you would like to contribute to the project please get in touch with me on [twitter](https://twitter.com/duncanfaulkner). Alternatively, if you would like to sponsor the project details can be found on our [GitHub page](https://github.com/sponsors/ngbracket). | ||
Thank you for your support. | ||
### Getting Started | ||
Start by installing the ngx-layout library from `npm` | ||
``` | ||
npm i -s @ngbracket/ngx-layout @angular/cdk | ||
``` | ||
Next, you'll need to import the Layout module in your app's module. | ||
**app.module.ts** | ||
```ts | ||
import { FlexLayoutModule } from '@ngbracket/ngx-layout'; | ||
... | ||
@NgModule({ | ||
... | ||
imports: [ FlexLayoutModule ], | ||
... | ||
}); | ||
``` | ||
After that is configured, you can use the ngx-layout attributes in your HTML tags for flex layout: | ||
```html | ||
<div fxLayout="row" fxLayoutAlign="space-between"></div> | ||
``` | ||
--- | ||
License: MIT |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1649119
7