Skip to main content

Posts

Showing posts with the label Angular 4 Property Binding

25 Best Perl Programming Interview Questions and Answers

What Is Perl Programming? Perl is a free, open source, high-level, general-purpose, interpreted, and dynamic and cross platform programming language. Perl was created by Larry Wall in 1987 and licensed under its Artistic License, or the GNU General Public License ( GPL ). Larry Wall began work on Perl in 1987, while working as a programmer at Unisys . When do you Use Perl Programming? Perl is free, open source, portable, flexible and easy to learn. Perl supports both procedural and object-oriented programming and free. It is easily to understandable due to its simple syntax. It’s also supports Unicode. Perl also works with popular mark-up languages like HTML , XML , and others. What Are the Advantages of Perl Programming? The Advantages of Perl Programming - ü   Perl is a free open source language. ü   Perl supports OOP (Object oriented programming) and Unicode. ü   Perl is easily readable ü   Perl is Y2K compliant ü   Perl...

Angular 4 Property Binding and Examples

What Is Property Binding? Property binding allows you to define an element attribute values from the component and its one-way data binding and also you can only set the data from the component to the view. Example As – Parent Component class Is - import { Component , Input } from '@angular/core' ; @ Component ({   selector: 'parent-Component' ,   template: 'Its Comes from parent: {{InputTextUser}}' }) export class ParentComponent {   @ Input () InputTextUser ; } And The Child Component Class Is - import { Component } from '@angular/core' ; @ Component ({   moduleId: module . UserId ,   selector: 'child-Component' ,   template: `       <parent-Component [InputTextUser]="txtUser"></parent-Component>       <span [InputTextUser]="txtUser"></span>   ` }) export class ChildComponent {   txtUser = 'Anil' ; ...