/** * @return array list of timer options for client-side. */ protected function getTriggerOptions() { $options = parent::getTriggerOptions(); $name = preg_replace('/^on/', '', $this->getEventName()); $options['EventName'] = strtolower($name); $options['StopEvent'] = $this->getPreventDefaultAction(); return $options; }
/** * @return array list of timer options for client-side. */ protected function getTriggerOptions() { $options = parent::getTriggerOptions(); $options['PropertyName'] = $this->getPropertyName(); $options['Interval'] = $this->getInterval(); $options['Decay'] = $this->getDecayRate(); return $options; }