Sha256: a60128518f28a008ec7c0afc11126b1e59639193ae13c32c14eee950f9a585f8
Contents?: true
Size: 480 Bytes
Versions: 9
Compression:
Stored size: 480 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
9 entries across 9 versions & 1 rubygems