Coder Social home page Coder Social logo

lakshankarunathilake / daterangepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sensortower/daterangepicker

0.0 1.0 0.0 1.08 MB

Date range picker component for the modern web

Home Page: https://sensortower.github.io/daterangepicker/

License: MIT License

JavaScript 8.81% CoffeeScript 61.52% CSS 17.44% HTML 12.24%

daterangepicker's Introduction

Build Status Join the chat at https://gitter.im/sensortower/daterangepicker ghit.me Analytics

daterangepicker

Demo screenshot

Demo available here

Notable Features

  • Day / Week / Month / Quarter / Year calendar modes
  • Single calendar mode
  • Customazible & extendable
  • Integration with jQuery & Knockout

Dependencies

  • jquery
  • moment
  • knockout

Documentation

Documentation & Examples are available on our website.

Download

Latest Release

Install

bower install knockout-daterangepicker --save

Usage

With jQuery

$("input").daterangepicker({
  minDate: moment().subtract(2, 'years'),
  callback: function (startDate, endDate, period) {
    $(this).val(startDate.format('L') + ' – ' + endDate.format('L'));
  }
});

With Knockout.js

<input type="text" data-bind="daterangepicker: dateRange"/>
ko.applyBindings({
  dateRange: ko.observable([moment().subtract(1, 'month'), moment()])
});

Development

git clone [email protected]:sensortower/daterangepicker.git && cd daterangepicker
npm install && bower install
gulp serve

Copyright

Copyright © 2015 SensorTower Inc. See LICENSE for further details.

Join Us

We're hiring across the board on our technical teams. Contact us by emailing [email protected] or making an application - and mention that you saw this note here. Ask for our recruiter, Rumiko.

Here's more about us and our engineering culture: Key Values

daterangepicker's People

Contributors

petethepig avatar berrberr avatar diziet avatar ixti avatar iulia-soimaru avatar oliver-k-yeh avatar

Watchers

James Cloos 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.