helpers\BaseHtml removeCssStyle()

removeCssStyle() public static method

Removes the specified CSS style from the HTML options.

For example,

Html::removeCssStyle($options, ['width', 'height']);

See also addCssStyle().

public static void removeCssStyle ( &$options, $properties )
$options array

The HTML options to be modified.

$properties string|array

The CSS properties to be removed. You may use a string if you are removing a single property.

doc_Yii
2016-10-30 17:05:14
Comments
Leave a Comment

Please login to continue.