2.0.0 • Published 5 years ago

ocph23-aj-input v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 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

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago