protected function prepareOptionDelay()
    {
        $value = 0;
        if (is_numeric($this->delay) && $this->delay > 0) {
            $value = (int)$this->delay;
        }
        return $value;
    }
protected function prepareOptionDelay()
    {
        $value = 0;
        if (is_numeric($this->delay) && $this->delay > 0) {
            $value = (int)$this->delay;
        }
        return $value;
    }
protected function prepareOptionDelay ( ) { $ value = 0 ; if ( is_numeric ( $ this -> delay ) && $ this -> delay > 0 ) { $ value = ( int ) $ this -> delay ; } return $ value ; }
Sets delay JS option.
@return integer
Sets delay JS option .