Coder Social home page Coder Social logo

changhuixu / uiowa-mfk-project Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 1.98 MB

Angular module for UIowa MFK input, favorite MFK, MFK string, etc...

Home Page: https://changhuixu.github.io/uiowa-mfk-project/

License: MIT License

TypeScript 79.13% CSS 3.13% HTML 15.19% JavaScript 2.55%
angular angular6 uiowa mfk favorite validation component

uiowa-mfk-project's Introduction

UIowa Mfk

Build Status npm

uiowa-mfk is a full-fledged Angular library for MFK input. Based on this library, the demo app shows some common configurations of MFK inputs, validations, and Favorite MFK management. This library has peer dependency on Angular >=12 and @uiowa/digit-only, as of Nov, 2021. The version number of this library is following the major and minor version of Angular.

Features

  • uiowa-mfk-input

    1. Number only input fields with fixed lengths.
    2. Smartly handle paste strings for input fields.
    3. Auto fill 0s in the MFK input field when hit Tab key.
    4. Auto jump to the previous field in the MFK input component when hit Backspace key.
    5. Auto focus next fields when current MFK input field is full.
    6. Allow set field(s) default value(s).
    7. Allow set readonly field(s).
    8. Provide MFK common methods.
    9. Provide MFK validation method and service.
    10. Provide MFK change event API.
  • uiowa-mfk-string

    1. Show MFK string in a <span> tag.
    2. Auto detect BRF field in the string.
  • mfkString pipe and whoKeyString pipe

Other possible features

  • uiowa-favorite-mfk

    1. Select Favorite MFK and show it in MFK input.
    2. Clear MFK input.
    3. Real-time indication for determine if an MFK is "favorite" or not.
    4. Add/Remove Favorite MFK.
    5. Provide Favorite MFK common methods.
    6. Provide Favorite MFK crud service.
    7. Provide Favorite MFKs change event API.
  • split-cost

    1. Allow to add one or more MFKs and set their percentages.
    2. Allow to edit/delete MFKs and their percentages.
    3. Check if the total percentage is 100%.

uiowa-mfk-project's People

Contributors

changhuixu avatar jacobbp25 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.