Skip to content

Instantly share code, notes, and snippets.

@yasu-s
Created May 30, 2018 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yasu-s/bdaba27bcd21c2d3bdab431d08f710c0 to your computer and use it in GitHub Desktop.
Save yasu-s/bdaba27bcd21c2d3bdab431d08f710c0 to your computer and use it in GitHub Desktop.
貼り付けサンプル
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
// #region fields
/** タイトル */
title = 'app';
// #endregion
// #region methods
/**
* クリックイベント
*/
onClick(): void {
alert('hoge');
}
// #endregion
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment