Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minute-step option #208

Closed
Gu3 opened this issue Aug 18, 2017 · 1 comment
Closed

minute-step option #208

Gu3 opened this issue Aug 18, 2017 · 1 comment

Comments

@Gu3
Copy link

Gu3 commented Aug 18, 2017

Hi !
Is the minute-step option works for you ?

My template :

<p class="input-group">
                <input type="text" class="form-control" enable-date="false" timepicker-options="vm.timePickerOptions" initial-picker="time" datetime-picker="HH:mm" ng-model="vm.rawValue" is-open="vm.isOpen"  />
                <span class="input-group-btn">
                    <button type="button" class="btn btn-default" ng-click="vm.openCalendar($event, prop)"><i class="fa fa-clock-o"></i></button>
                </span>
            </p>

My controller :

this.timePickerOptions = {
            'show-meridian': false,
            'minute-step': 5,
            'mousewheel': false
        };

If I do that, the minute buttons doesn't work anymore.

Vincent.

@Gillardo
Copy link
Owner

if you typing javascript, options should be passed in pascelCase, not snake-case. Snake-case is for HTML only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants