You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,14 +88,10 @@ That's why by default the `bo-href` doesn't use interpolation nor watchers, the
88
88
|`bo-hide = "condition"`| equivalent to `ng-hide` but doesn't use watchers |`<ANY bo-hide="Person.isPrivate"></ANY>`|
89
89
|`bo-text = "text"`| evaluates "text" and print it as text inside the element |`bo-text="Person.name"`|
90
90
|`bo-html = "markup"`| evaluates "markup" and render it as html inside the element |`bo-html="Person.description"`|
91
-
| `bo-href-i = "url"` | **equivalent** to `ng-href`.
92
-
**Heads up!** It creates one watcher. Using `{{}}` inside the url like `<a bo-href="/profile{{Person.id}}">` you create one watcher, use `bo-href` to avoid it: `<a bo-href="'/profile' + Person.id">` |`<a bo-href-i="/profile{{Person.id}}"></a>`|
93
-
| `bo-href = "url"` | **similar** to `ng-href` but doesn't allow interpolation using `{{}}` like `ng-href`.
94
-
**Heads up!** You can't use interpolation `{{}}` inside the url, use bo-href-i for that purpose |`<a bo-href="'/profile' + Person.id"></a>` or `<a bo-href="link" bo-text="Link"></a>`|
95
-
| `bo-src-i = "url"` | **equivalent** to `ng-src`.
96
-
**Heads up!** It creates one watcher |`<img bo-src-i="{{picture}}" bo-alt="title">`|
97
-
| `bo-src = "url"` | **similar** to `ng-src` but doesn't allow interpolation using `{{}}` like `ng-src`.
98
-
**Heads up!** You can't use interpolation `{{}}`, use bo-src-i for that purpose |`<img bo-src="picture" bo-alt="title">`|
91
+
|`bo-href-i = "url"`|**equivalent** to `ng-href`. **Heads up!** It creates one watcher. Using `{{}}` inside the url like `<a bo-href="/profile{{Person.id}}">` you create one watcher, use `bo-href` to avoid it: `<a bo-href="'/profile' + Person.id">`|`<a bo-href-i="/profile{{Person.id}}"></a>`|
92
+
|`bo-href = "url"`|**similar** to `ng-href` but doesn't allow interpolation using `{{}}` like `ng-href`. **Heads up!** You can't use interpolation `{{}}` inside the url, use bo-href-i for that purpose |`<a bo-href="'/profile' + Person.id"></a>` or `<a bo-href="link" bo-text="Link"></a>`|
93
+
|`bo-src-i = "url"`|**equivalent** to `ng-src`. **Heads up!** It creates one watcher |`<img bo-src-i="{{picture}}" bo-alt="title">`|
94
+
|`bo-src = "url"`|**similar** to `ng-src` but doesn't allow interpolation using `{{}}` like `ng-src`. **Heads up!** You can't use interpolation `{{}}`, use bo-src-i for that purpose |`<img bo-src="picture" bo-alt="title">`|
99
95
|`bo-class = "class:condition"`| equivalent to `ng-class` but doesn't use watchers |`<span bo-class="{'fancy':Person.condition}">`|
100
96
|`bo-alt = "text"`| evaluates "text" and render it as `alt` for the element |`<ANY bo-alt="title">`|
101
97
|`bo-title = "text"`| evaluates "text" and render it as `title` for the element |`<ANY bo-title="title">`|
0 commit comments