0.2.17 • Published 5 years ago

fng3-aui-com-lib v0.2.17

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

FNG3-AUI Library

This library contains Angular 2+ components that and are compatible with angular 1, styled with FNG3-AUI Framework Git NPM.


Components

x Date Picker Dropdown List

Last Update

22/08/19 Trying to create the Documentation

In the Future

  • Unit Test

Installation

Run npm install fng3-aui-com-lib@latest --save in your project.

How to use

  1. Importing Modules/ Components to an Angular 2 module: import {SharedModule} from "fng3-aui-com-lib" import {Fng3AuiDatePickerWrapperComponent} from "fng3-aui-com-lib"

  2. How to use the imported components on Angular 2 and on Angular1:

  • On Angular2: After importing the desired component or module, the component’s selector will be immediately available for use on the view of the component. <fng3-aui-date-picker-wrapper> </fng3-aui-date-picker-wrapper>

  • On Angular1: You need an angular hybrid module (Containing both Angular1 & Angular 2 logic) - Import the desired Module and Component. import {SharedModule} from "fng3-aui-com-lib" import {Fng3AuiDatePickerWrapperComponent} from "fng3-aui-com-lib"

    - Import the downgrade component module from angular:

    import { downgradeComponent } from "@angular/upgrade/static"; - On the angular 2 side of the module add your imported module on the imports array. @NgModule({ imports: [SharedModule], exports: [], declarations: [], entryComponents: [], providers: []}) - On the angular 1 side of the module use the imported downgradeComponent to downgrade our angular 2 Component NameOfAngular1Module.directive('Fng3AuiDatePickerWrapper', downgradeComponent({ component: Fng3AuiDatePickerWrapperComponent, inputs: [], outputs: [] }) as angular.IDirectiveFactory);

  • Use it on the view: The angular component is ready to be used <fng3-aui-date-picker-wrapper> </fng3-aui-date-picker-wrapper>

0.2.17

5 years ago

0.2.16

5 years ago

0.2.15

5 years ago

0.2.14

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago