Djangoroidの奮闘記

python,django,angularJS1~三十路過ぎたプログラマーの奮闘記

2017-04-28から1日間の記事一覧

Angular4入門_Vol.9

参考サイト https://www.codingforentrepreneurs.com/projects/try-angular-v4/ Angular Click Events home.component.html にclickeventを追記する。 <a class='' href="/videos/video-1" (click)='preventNormal($event)'> home.component.tsにpreventNormalを定義する。 import { Component, OnInit } from '@angular/core'; @</a>…