Skip to content

Commit b2dfe09

Browse files
committed
Added component tooltip #8
1 parent 867b0ee commit b2dfe09

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Components/Tooltip.sublime-snippet

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button class="btn tooltip" data-tooltip="${1: tooltip text here}">${2: button text here}</button>
4+
]]></content>
5+
6+
<tabTrigger>sp-tt</tabTrigger>
7+
<scope>text.html</scope>
8+
<description>Spectre-Tooltip</description>
9+
</snippet>

test.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
<title>sample</title>
66
</head>
77
<body>
8-
98
</body>
109
</html>

0 commit comments

Comments
 (0)