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
15 lines (13 loc) • 338 B
JavaScript
import uiModules from 'ui/modules';
let module = uiModules.get('kibana');
module.directive('inputFocus', function ($timeout) {
return {
restrict: 'A',
link: function ($scope, $elem, attrs) {
$timeout(function () {
$elem.focus();
if (attrs.inputFocus === 'select') $elem.select();
});
}
};
});