| Update The Dom | Use With | |
|---|---|---|
| ui-text | Sets the inner text of an element | <div>, <span>, <p>, etc. |
| ui-value | Sets the value of a form input or textarea | <input>, <select>, <textarea>, etc. |
| ui-checked | Sets a checkbox or radio button state |
<input type="checkbox">, <input type="radio"> |
| ui-disabled | Sets the disabled state of a form input | <input>, <select>, <textarea>, etc. |
| ui-placeholder | Sets the placeholder of a form input | <input>, <textarea> |
| ui-class | Sets the class of an element | <div>, <span>, <p>, etc. |
| ui-src | Sets the src of an image, video, or iframe. | <img>, <video>, <iframe> |
| ui-href | Sets the href of a link. | <a> |
| ui-style | Sets the style of an element | Any element. |
| ui-hidden | Sets the hidden state of an element | Any element. |
| ui-data-[key] | Set a data attribute | <div>, <span>, <p>, etc. |
| ui-aria-[key] | Set an aria attribute | <div>, <span>, <p>, etc. |
| ui-[key] | Set any attribute | Any element you like |
| Respond To User Interaction | |
|---|---|
| ui-change | Use on form elements to listen for changes in their value. |
| ui-click | Triggered when the element is clicked. |
| ui-clickme | Triggered when the element is clicked, but not if the click is on a child element. |
| ui-clickout | Triggered when a click happens outside of the element. |
| ui-focus | Triggered when an input or textarea is focused. |
| ui-blur | Triggered when an input or textarea is blurred. |
| ui-submit | Add to form elements to listen for form submission. |
| ui-mouseenter | Triggered when the mouse hovers over the element. |
| ui-mouseleave | Triggered when the mouse stops hovering over the element. |
| ui-touchstart | Triggered when a touch starts on the element (mobile only). |
| ui-touchend | Triggered when a touch ends on the element (mobile only). |
| ui-dragstart | Triggered when a drag starts on the element. |
| ui-dragend | Triggered when a drag ends on the element. |
| ui-press | Triggered on either A. Click, B. Touch, or C. Pressing the Enter key. |