Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/ovh-ui-angular/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ import searchController from "./search.controller";
import selectController from "./select.controller";
import showCurrentValueInPopupController from "./show-current-value-in-popup.controller";
import stepperController from "./stepper.controller";
import timepickerController from "./timepicker.controller";

angular.module("app")
.controller("AutocompleteCtrl", autocompleteController)
.controller("CalendarCtrl", calendarController)
.controller("CriteriaAdderCtrl", criteriaAdderController)
.controller("ChipsCtrl", chipsController)
.controller("DatagridCtrl", datagridController)
.controller("DualListCtrl", dualListController)
.controller("FieldCtrl", fieldController)
.controller("InlineAdderCtrl", inlineAdderController)
.controller("NavbarCtrl", navbarController)
Expand All @@ -31,4 +33,4 @@ angular.module("app")
.controller("SearchCtrl", searchController)
.controller("SelectCtrl", selectController)
.controller("StepperCtrl", stepperController)
.controller("DualListCtrl", dualListController);
.controller("TimepickerCtrl", timepickerController);
13 changes: 13 additions & 0 deletions src/ovh-ui-angular/controllers/timepicker.controller.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default class {
onChange (modelValue) {
this.onChangeValue = modelValue;
}

onClose (modelValue) {
this.onCloseValue = modelValue;
}

onOpen (modelValue) {
this.onOpenValue = modelValue;
}
}
4 changes: 4 additions & 0 deletions src/ovh-ui-angular/ovh-ui-angular.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@
"tile": {
"group": "components"
},
"timepicker": {
"controller": "TimepickerCtrl",
"group": "components"
},
"tooltip": {
"group": "components"
}
Expand Down