= ( data ) => {

			this.worker.postMessage( {
				type: 'event',
				id: this.id,
				data,
			} );

		};

		// register an id
		worker.postMessage( {
			type: 'makeProxy',
			id: this.id,
		} );
		sendSize();
		for ( const [ eventName, handler ] of Object.entries( eventHandlers ) ) {

			element.addEventListener( eventName, function ( event ) {

				handler( event, sendEvent );

			} );

		}

		function sendSize() {

			const rect = element.getBoundingClientRect();
			sendEvent( {
				type: 'size',
				le