blockly > Bubbles > TextInputBubble > addTextChangeListener

Balls.TextInputBubble.addTextChangeListener() method

เพิ่ม Listener การเปลี่ยนแปลงที่จะรับการแจ้งเตือนเมื่อข้อความของลูกโป่งนี้มีการเปลี่ยนแปลง

ลายเซ็น:

addTextChangeListener(listener: () => void): void;

พารามิเตอร์

พารามิเตอร์ Type คำอธิบาย
Listener () => เป็นโมฆะ

ส่งกลับ:

void