Add tooltip with value for selectors

This commit is contained in:
Rob Harrington
2015-04-23 14:11:50 +10:00
parent 7b83438b5e
commit 6cde1f7732

View File

@@ -1,2 +1,3 @@
%li{ ng: { class: "{active: selector.active}" } }
%a{ ng: { transclude: true, class: "{active: selector.active}" } }
%a{ "tooltip" => "{{selector.object.value}}", "tooltip-placement" => "bottom",
ng: { transclude: true, class: "{active: selector.active, 'has-tip': selector.object.value}" } }