Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 4dba58d

Browse files
Foxandxsswesleycho
authored andcommitted
docs: add badge explanations
Closes #5100
1 parent a5c2a5b commit 4dba58d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎misc/demo/index.html‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,13 @@ <h3>Reading the documentation</h3>
193193
Each of the components provided in <code>ui-bootstrap</code> have documentation and interactive Plunker examples.
194194
</p>
195195
<p>
196-
For the directives, we list the different attributes with their default values, and whether they are readonly. In addition to this, some settings
197-
have an eye icon next to them like this <i class="glyphicon glyphicon-eye-open"></i>. The eye means that the setting has an Angular
198-
<a href="https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$watch" title="Angular $watch" target="_blank">$watch</a> listener applied to it.
196+
For the directives, we list the different attributes with their default values. In addition to this, some settings have a badge on it:
197+
198+
<ul>
199+
<li><i class="glyphicon glyphicon-eye-open"></i> - This setting has an angular $watch listener applied to it.</li>
200+
<li><small class="badge">$</small> - This setting expects an angular expression instead of a literal string. If the expression support a boolean, you can pass it directly.</li>
201+
<li><small class="badge">readonly</small> - This setting is readonly.</li>
202+
</ul>
199203
</p>
200204
<p>
201205
For the services (you will recognize them with the <code>$</code> prefix), we list all the possible parameters you can pass to them and their default values if any.

0 commit comments

Comments
 (0)