Ionic4基於Angular實現自定義component的事件觸發

假設parent.page.html裏內嵌了自定義組件child.component.html, 咱們能夠經過EventEmitter和Output模塊來實現事件的觸發。html child.component.ts import { Component, EventEmitter, Output } from '@angular/core'; @Component({ selecto
相關文章
相關標籤/搜索