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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ domodel is front-end library that organizes the user interface into models (look
16
16
17
17
### Model
18
18
19
-
A model is a JSON representation of a DOM [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element).
19
+
A model is a JSON representation of a DOM [Element](https://html.spec.whatwg.org/multipage/dom.html#htmlelement).
20
20
21
21
A model can also be used to refer to both the [Model](https://domodel.unificator.me/global.html#Model) and its [Binding](https://domodel.unificator.me/domodel/Binding.html) as a whole, that is a component (a search bar model for example).
22
22
@@ -49,7 +49,7 @@ export default {
49
49
}
50
50
```
51
51
52
-
Notice the ``textContent`` property. You can set any [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) properties in this fashion.
52
+
Notice the ``textContent`` property. You can set any [Element](https://html.spec.whatwg.org/multipage/dom.html#htmlelement) properties in this fashion.
53
53
54
54
> If you want to set an ``attribute`` use the attributes object property.
55
55
@@ -58,7 +58,7 @@ The ``identifier`` allows your binding to track a model and manipulate it in wit
58
58
#### Properties
59
59
<ahref="#model-properties"></a>
60
60
61
-
Most properties listed in your model comes from the [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) class.
61
+
Most properties listed in your model comes from the [Element](https://html.spec.whatwg.org/multipage/dom.html#htmlelement) class.
62
62
63
63
It also includes:
64
64
@@ -155,8 +155,8 @@ This method will be called immediately after your model is added to the DOM.
155
155
156
156
The following properties are made available from within the the instance of a [Binding](http://domodel.unificator.me/Binding.html):
157
157
158
-
-``root`` Root [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) of your model.
159
-
-``identifier`` Hosts individual [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) previously tagged in the definition of the model (see [Model properties](#model-properties)).
158
+
-``root`` Root [Element](https://html.spec.whatwg.org/multipage/dom.html#htmlelement) of your model.
159
+
-``identifier`` Hosts individual [Element](https://html.spec.whatwg.org/multipage/dom.html#htmlelement) previously tagged in the definition of the model (see [Model properties](#model-properties)).
0 commit comments