public function setWindSpeedUnits($value)
    {
        if (!WindSpeedUnits::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "windSpeedUnits" value');
        }
        $this->options['windSpeedUnits'] = new JsExpression($value);
    }
public function setWindSpeedUnits($value)
    {
        if (!WindSpeedUnits::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "windSpeedUnits" value');
        }
        $this->options['windSpeedUnits'] = new JsExpression($value);
    }
public function setWindSpeedUnits ( $ value ) { if ( ! WindSpeedUnits :: getIsValid ( $ value ) ) { throw new InvalidConfigException ( 'Unknown "windSpeedUnits" value' ) ; } $ this -> options [ 'windSpeedUnits' ] = new JsExpression ( $ value ) ; }
Sets the windSpeedUnits making sure it is not going to be encoded as a js string.

@param string $value

@throws \yii\base\InvalidConfigException
Sets the windSpeedUnits making sure it is not going to be encoded as a js string .