0.0.1 • Published 6 years ago

st.card v0.0.1

Weekly downloads
4
License
MIT
Repository
-
Last release
6 years ago

StModules

This project was generated with Angular CLI version 1.5.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

##StInputSelect

Select Option input Selector: st-input-select

Parameters: stInputLabel: Input label text. stId: Input id. stClass: Input css class name. onSelectFn: Function that called when select option. Selected object passed as a function input. stSelectOptions: List of options. stSelectInitial: Initial selected option. stLoadingText: for auto complete state to show a message while loading data. stNoMatchFound: in auto complete mode showing message if no data was found. stPlaceHolder: place holder in input
stSource: source of data a url for now. stInputName: input name. stFormGroup: form group if needed. stFormControlName: form control name if form group is defined. stAutoComplete: choosing auto complete if mode if set as true or select mode if set as false.
stAcceptUserInput: boolean, if false and does not match to source given, it goes back to the original value selected., If you don't event want user to type any, please use readonly="readonly" to force user to select only from list. Default is true. stMaxNumList: number, maximum number of drop down list items. Default, unlimited. stMinChars: number, when source is remote data, the number of character to see drop-down list.