One way binding in angular is used set or get the data from html controls, here lets see how to get the value from Textbox on button click and show the same in some span.
import { Component} from '@angular/core';
@Component({
selector: 'app-root',
styleUrls: ['./app.component.css'],
template: ``
})
export class AppComponent {
userEneteredText :string;
showData(value :string){
this.userEneteredText=value;
}
}
14 Comments
This comment has been removed by a blog administrator.
ReplyDeleteThanks for sharing a valuable information to us. keep on sharing like this.
ReplyDeleteBest Air hostess Training in Chennai
Cabin Crew course
Airhostess Training institute in Chennai
Cabin Crew Training in Chennai
Air hostess institute in Chennai
Cabin crew Academy in Chennai
This stays as one of the best and attractive post I have read yet. Great sharing this post.
ReplyDeleteSpoken English Classes in Chennai
Best Spoken English Classes in Chennai
IELTS Coaching in Chennai
IELTS Coaching Centre in Chennai
English Speaking Classes in Mumbai
English Speaking Course in Mumbai
IELTS Classes in Mumbai
IELTS Coaching in Mumbai
IELTS Coaching in Anna Nagar
Spoken English Class in Anna Nagar
Success is failure turned inside out - The silver tint in the clouds of doubt, and you never can tell how close you are, it might be near when it seems afar; So stick to the fight when you're hardest hit - It's when things seem worst that you must not quit.
ReplyDeletekizi 2 player racing games
Jogo para criança
play friv Games
Awesome blog with lots of information. It is really helpful for all.
ReplyDeleteAngularJS Training in Chennai
AngularJS course in Chennai
Angular 6 Training in Chennai
ReactJS Training in Chennai
PHP Training in Chennai
Web Designing course in Chennai
Tally course in Chennai
AngularJS Training in Velachery
AngularJS Training in T Nagar
AngularJS Training in OMR
Awesome post! Personally I like your site. . I am so impressed to read your content. I am looking forward for the next valuable and informative concept in your blog. Overall outstanding post. Carry on :) Well done!
ReplyDeleteReady To Repair
APPLIANCE REPAIR
AC REPAIR AND SERVICE
GAS STOVE REPAIR
LAPTOP REPAIR
Our Service Partners :
Mumbai Call Girls
Escort Service In Delhi
Online B2B Marketplace
Satta King
Very well written post. Thanks for sharing this, I really appreciate you taking the time to share with everyone. PMP Certification
ReplyDeleteI am impressed. I don't think I've met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here.
ReplyDeleteB2B Marketplace
Wholesalers
Our Service Partners
Refrigerator Repair Service
Satta King
Mumbai Call Girls
Attend The PMP Certification From ExcelR. Practical PMP Certification Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The PMP Certification.
ReplyDeletePMP Certification
Excellent Post!! I gathered lots of information here. Do share more updates.
ReplyDeletecurrent version of php
strategies of digital marketing
online marketing strategies
big data use cases
user licenses in salesforce
android basic questions
This is the best post and Keep doing it. Thank you for your valuable efforts...!
ReplyDeleteContent Writing Online Course
Content Writing Training in Chennai
Google Analytics Training in Chennai
Google Analytics Online Training
Nice post,Thanks for sharing this! Best Immigration and Student Visa Services - FTS
ReplyDeleteI recently visited your blog and this is very useful for me. Thank you for your excellent post...
ReplyDeleteSharePoint Training in Chennai
SharePoint Course in Chennai
PLC Training in Chennai
HR Course in Chennai
Wow! Excellent blog and I really impressed. Keep doing...
ReplyDeleteUi Ux Design Course in Chennai
Ui Ux Course in Chennai
UiPath Online Training
UiPath Training in Chennai
UiPath Training in Bangalore