@ViewChild('prompt') prompt: MdSlideToggle;. Now create a simple unit test and try to access to the 'prompt' element. The value is undefined.
確定! 回上一頁