事件
事件类型 (Event Types)
// network-changed = script-path=network-changed.js,type=event,event-name=network-changed
$notification.post('DNS Update', $network.dns.join(', '));
$done();// notification = script-path=notification.js,type=event,event-name=notification
console.log($event.data);
$done();最后更新于
这有帮助吗?