2.0.0 • Published 4 years ago

ocph23-aj-input v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

ocph23-aj-input

angularjs module direactive for handle incoming string to Html Input

  • Number
  • Decimal
  • Date Time

Install

    npm i ocph23-aj-input

Reference Module

  • on html file

      <script  src="./node_modules/ocph23-aj-input/ocph23-aj-input.js"></script>
  • on base app (ex: app.js)

      angular.module('app', [ 'ocph-aj-input' ])
      .controller('controller', ($scope) => {
              $scope.number = '2000';
              $scope.decimal = '20.50';
              $scope.date = '2000-10-3';
      });

Example

  • Number

    <input  type="number"  ng-model="number"  input-number>
  • Decimal

     <input  type="number"  ng-model="decimal"  step="0.50"  input-decimal>
  • Date

    <input  type="date"  ng-model="date"  input-date>
2.0.0

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago