blockly > comments > CollapseCommentBarButton > performAction

Phương thức comments.CollapseCommentBarButton.performAction()

Bật/tắt trạng thái thu gọn của bình luận chính.

Chữ ký:

performAction(e?: Event): void;

Thông số

Thông số Loại Mô tả
e Sự kiện (Không bắt buộc) Sự kiện đã kích hoạt hành động này.

Trả lại:

void