Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular property binding

    // component.ts

    @Component({
      templateUrl: 'component.html',
      selector: 'app-component',
    })
    export class Component {
      name = 'Peter';

      updateName() {
        this.name = 'John';
      }
    }
Source by www.telerik.com #
 
PREVIOUS NEXT
Tagged: #angular #property #binding
ADD COMMENT
Topic
Name
3+9 =