TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
raghavan s
NA
7
0
textbox binding angular2
Oct 24 2017 11:02 PM
@Component({
selector:
'courses'
,
template:`.......
<input type=
"text"
[(ngModel)]=
"newCourse"
/>
<input type=
"button"
value=
"Add Course"
(click)=
"AddCourse()"
/>
})
export
class
CoursesComponent{
AddCourse()
{
this
.courses.push(
this
.newCourse);
}
}
This is not working please help
Reply
Answers (
1
)
why reference parameters cannot be optional parameters?
Pre requisites for Client computer