Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 877 Bytes

README.md

File metadata and controls

58 lines (43 loc) · 877 Bytes

Dugun-Forms

Build

  • Install Dependencies

    npm install && bower install

  • Run build function

    gulp build

Installation

  • Add repository as dependency on your bower.json

    "dugun-forms":"https://github.com/duguncom/dugun-forms.git#v1.x"

  • Add dugun.forms to your application

angular.module('YourApp',
  [
      'dugun.forms'
  ]
);

Examples

Date-Range-Picker

<input
        date-range-picker
        class="form-control date-picker opensleft"
        type="text"
        ng-model="dates"
        min="null"
        max="today"
        options="{ opens: 'left' }"
        placeholder="Tarih aralığı"
>
$scope.dates = {
    startDate: moment().startOf('month'),
    endDate: moment()
};
<dg-form-date
  ng-model="date"
  format="DD-MM-YYYY"
></dg-form-date>