src/WasabiLib/View/Button.php
public function setEventType($eventType) {
        $this->setVariable(self::EVENT_TYPE, $this->assembleAssignmentString(self::DATA_EVENT, $eventType));
    }
public function setEventType($eventType) {
        $this->setVariable(self::EVENT_TYPE, $this->assembleAssignmentString(self::DATA_EVENT, $eventType));
    }
public function setEventType ( $ eventType ) { $ this -> setVariable ( self :: EVENT_TYPE , $ this -> assembleAssignmentString ( self :: DATA_EVENT , $ eventType ) ) ; }
Sets the event type of the button. Default is "click".
@param string $eventType
Sets the event type of the button . Default is click .