Sha256: 60e555222fcc6637367d896c5461a08a6b5204e66a83a0bf84b61bc0b2e462ad
Contents?: true
Size: 481 Bytes
Versions: 6
Compression:
Stored size: 481 Bytes
Contents
define([ 'angular', 'kbn' ], function (angular, kbn) { 'use strict'; angular .module('kibana.directives') .directive('tip', function($compile) { return { restrict: 'E', link: function(scope, elem, attrs) { var _t = '<i class="icon-'+(attrs.icon||'question-sign')+'" bs-tooltip="\''+ kbn.addslashes(elem.text())+'\'"></i>'; elem.replaceWith($compile(angular.element(_t))(scope)); } }; }); });
Version data entries
6 entries across 6 versions & 1 rubygems