Skip to content

Commit 947c713

Browse files
committed
md-highlight-text updated
1 parent 5401554 commit 947c713

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<snippet>
22
<content><![CDATA[
3-
<input placeholder="Enter a search term..." ng-model="searchTerm" type="text">
3+
<input ${1:placeholder="${2:Enter a search term...}"} ${3:ng-model="${4:searchTerm}"} type="${5:text}">
44
<ul>
5-
<li ng-repeat="result in results" md-highlight-text="searchTerm">
6-
{{result.text}}
7-
</li>
5+
<li md-highlight-text="${4:searchTerm}">$5</li>
86
</ul>
97
]]></content>
108
<tabTrigger>md-highlight-text</tabTrigger>
11-
<description>Angular Material - The md-highlight-text directive allows you to specify text that should be highlighted within an element. Highlighted text will be wrapped in &lt;span class="highlight"&gt;&lt;/span&gt; which can be styled through CSS. Please note that child elements may not be used with this directive.</description>
9+
<description>Angular Material - md-highlight-text</description>
1210
<scope>text.html</scope>
13-
</snippet>
11+
</snippet>

0 commit comments

Comments
 (0)