Skip to content

shibby/dugun-forms

 
 

Repository files navigation

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>

About

Easy to use directives to generate form fields

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 83.1%
  • HTML 16.9%