rgkevin / datetimerangepicker Goto Github PK
View Code? Open in Web Editor NEWAn angular directive that includes a Datepicker and a time range picker
An angular directive that includes a Datepicker and a time range picker
Hi all!
I get this on range-pickers.js line 127.
scope.data.hasDatePickers = angular.isObject(scope.data.date);
I don't know what i can fix it.
Please help
Cheers
Andrea
Add the ability to change the text label "to", please
https://github.com/RGkevin/datetimeRangePicker/blob/master/range-picker.js#L88
Am i missing something or is just not possible to set start time (not date) bigger than end time?
Even if i set "minRange" to negative value this doesnt work.
So for example I want to set range:
start time: 2015-01-01T20:20:20
end time: 2016-01-01T10:10:10
As in subject your directive do not work on angular 1.4.6
Hi,
my slider is not getting updated on startup. An update is fired if i click to start/end buttons on the slider or after resizing the window.
My configuration:
$scope.todoRange = {
date: {
from: new Date(),
to: new Date()
},
time: {
from : 10, // default start time (in minutes)
to : 300, // default end time (in minutes)
step : 15, // step width
minRange: 15, // min range
hours24 : true // true = 00:00:00 | false = 00:00 am/pm
},
"hasDatePickers": true,
"hasTimeSliders": true
};
$scope.todoLabels = {
date: {
from: 'Start Datum',
to : 'End Datum'
}
};
Von {{todo.start}} .. Bis {{todo.due}}
<script src="${pageContext.request.contextPath}/resources/lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="${pageContext.request.contextPath}/resources/lib/venturocket-angular-slider/build/angular-slider.js"></script>
<script src="${pageContext.request.contextPath}/resources/lib/datetimeRangePicker/range-picker.js"></script>
Any idea to solve this issue?
BTW: Can i put some button into slider?
When installing with bower, the question below appears and i really don't know how to answer.. I tried everything based on Yes/No. Could you help me ?
Question :
Prefix the choice with ! to persist it to bower.json
? Answer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.