kibana-123
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
20 lines (16 loc) • 489 B
JavaScript
import _ from 'lodash';
import listTemplate from 'ui/typeahead/partials/typeahead-items.html';
import 'ui/notify/directives';
import uiModules from 'ui/modules';
let typeahead = uiModules.get('kibana/typeahead');
typeahead.directive('kbnTypeaheadItems', function () {
return {
restrict: 'E',
require: '^kbnTypeahead',
replace: true,
template: listTemplate,
link: function ($scope, $el, attr, typeaheadCtrl) {
$scope.typeahead = typeaheadCtrl;
}
};
});