angular 팝업 썸네일형 리스트형 [Angular2+] 새창에서 팝업창 열기 태그로 target="_blank" 로 하여 새로운 창을 여니 새탭으로 열린다.팝업으로 띄우려면 window.open(url, title, option)을 하면 되는데Angular에서는 어떻게 하나 찾아보니 아래와 같았다. app.component.ts 1234567891011121314151617181920212223242526272829import { Component, OnInit } from '@angular/core';import {WindowRef} from './windowRef'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export c.. 더보기 이전 1 다음