Angular 4를 사용하여 창 크기 감지 반응 형 내비게이션 바를 만들려고했고 미디어 쿼리를 사용하고 싶지 않으므로 *ngIF창 크기를 기준으로 사용하려고합니다 . 그러나 Angular 4 창 크기 감지에 대한 방법이나 문서를 찾을 수 없기 때문에 문제가 발생했습니다. JavaScript 방법도 시도했지만 지원되지 않습니다. 또한 다음을 시도했습니다 . constructor(platform: Platform) { platform.ready().then((readySource) => { console.log('Width: ' + platform.width()); console.log('Height: ' + platform.height()); }); } ... 이온 계에 사용되었습니다. 그리고 screen..