Skip to content

Slider is not updating on startup #3

@aymeba

Description

@aymeba

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions