public function renderDomEventOnce(Event $domEventOnce)
    {
        return sprintf(
            '%s = google.maps.event.addDomListenerOnce(%s, "%s", %s, %s);'.PHP_EOL,
            $domEventOnce->getJavascriptVariable(),
            $domEventOnce->getInstance(),
            $domEventOnce->getEventName(),
            $domEventOnce->getHandle(),
            json_encode($domEventOnce->isCapture())
        );
    }
public function renderDomEventOnce(Event $domEventOnce)
    {
        return sprintf(
            '%s = google.maps.event.addDomListenerOnce(%s, "%s", %s, %s);'.PHP_EOL,
            $domEventOnce->getJavascriptVariable(),
            $domEventOnce->getInstance(),
            $domEventOnce->getEventName(),
            $domEventOnce->getHandle(),
            json_encode($domEventOnce->isCapture())
        );
    }
public function renderDomEventOnce ( Event $ domEventOnce ) { return sprintf ( '%s = google.maps.event.addDomListenerOnce(%s, "%s", %s, %s);' . PHP_EOL , $ domEventOnce -> getJavascriptVariable ( ) , $ domEventOnce -> getInstance ( ) , $ domEventOnce -> getEventName ( ) , $ domEventOnce -> getHandle ( ) , json_encode ( $ domEventOnce -> isCapture ( ) ) ) ; }
Renders a dom event once.

@param \Ivory\GoogleMap\Events\Event $domEventOnce The dom event once.

@return string The JS output.
Renders a dom event once .