Coder Social home page Coder Social logo

joanjane / handy-angular-components Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.47 MB

An angular 6+ components library to build easily nice forms using bootstrap 3/4

Home Page: https://joanjane.github.io/handy-angular-components/

License: Other

HTML 20.71% TypeScript 65.59% JavaScript 4.38% CSS 9.32%
angular angular2 components form dropdown datepicker library sass css aot-compatible angular-cli spa

handy-angular-components's Introduction

Handy Angular Components

Angular 6+ components library with a featured datepicker and dropdown based on bootstrap 3 & 4.

Features

  • Well built

    • AOT Ready
    • Sass compatible and CSS rules easily overridable
    • Design based on bootstrap (3 & 4 compatible!) and fontawesome
    • Works well with reactive forms and template driven forms
  • Dropdowns

    • Choose a single option from list
    • Optional filter to choose an option with basic keyboard support
    • html label[for] attribute support to trigger focus consistently from your component
    • Support option groups to categorize options
  • Datepicker

    • Configurable visible months (by default 1)
    • Single date mode
    • Date range mode (start - end)
    • Localization via angular DatePipe
    • Customizable date format for selected dates
    • Whitelist/blacklist days mode
    • Min/Max date ranges
    • Toggeable today button to set current date
    • Configurable current month visible

Installation

To install this library, run:

$ npm install handy-angular-components --save

UI Dependencies

This library is requires using bootstrap 3/4 (yes, works with both!) and fontawesome.

Important: ensure you include hac.css (this library stylesheet after bootstrap and fontawesome to respect the cascade priorities).

Documentation

Read the full documentation to know about the features.

Live sample

See live sample!

Example

See this example to discover all the features.

New! Look at hac-playground repo for a clean sample, that supports localization and JIT/AOT.

Contributions

Contributions are welcome, you can fork this repo and submit a pull request. Also if you find any issue, file it at github and it will be reviewed.

License

MIT © Joan Jané

handy-angular-components's People

Contributors

joanjane avatar

Stargazers

 avatar

Watchers

 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.