The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Template property syntax

Template property syntax

1:39
This lesson covers using the [input] syntax to change an element property such as “hidden” or “content-editable”. Using properties eliminates the need for Angular 1’s old directives such as ng-show and ng-hide as you’re now able to directly access any property on your element.
Watch this lesson now
Avatar
egghead.io

This lesson covers using the [input] syntax to change an element property such as “hidden” or “content-editable”. Using properties eliminates the need for Angular 1’s old directives such as ng-show and ng-hide as you’re now able to directly access any property on your element.

Avatar
kevin

[content-editable] should be [contentEditable]

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?