2015-09-20 63 views

回答

2

找到一種方法來做到這一點:

var event = new CustomEvent('iron-signal', {'detail' : {name: 'foo', data: 'null'}}); document.dispatchEvent(event);