pd-flex-layout
v0.1.1
Published
A custom Angular 17 flex-layout library
Downloads
19
Readme
PdFlexLayout
This library was generated with Angular CLI version 17.3.0.
Code scaffolding
Run npm install pd-flex-layout@latest to install alternate library similar to @angular\flex-layout.
Note: Don't forget to add
--project pd-flex-layoutor else it will be added to the default project in yourangular.jsonfile.
Build
Run ng build pd-flex-layout to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build pd-flex-layout, go to the dist folder cd dist/pd-flex-layout and run npm publish.
Running unit tests
Run ng test pd-flex-layout to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
How to Use?
Run this command to install npm install pd-flex-layout@latest
After installing package you can find this dependency under package.json
Now you can import this as module into the respective NgModule
import { PdFlexLayoutModule } from 'pd-flex-layout';
Alternative Keywords to be used for existing flex-layout directives
| Old Keyword | New Keyword | |----------------|-----------------| | fxLayout | pdFxLayout | | fxFlex | pdFxFlex | | fxLayoutAlign | pdFxLayoutAlign | | fxLayoutGap | pdFxLayoutGap | | fxFlexFill | pdFxFlexFill | | fxFlexAlign | pdFxFlexAlign | | fxHide | pdFxHide | | fxShow | pdFShow | | fxFlexOffset | pdFxFlexOffset | | fxFlexOrder | pdFxFlexOrder | | ngClass | pdFxClass | |________________|_________________|
