widgets\MaskedInput hashPluginOptions()

hashPluginOptions() protected method

Generates a hashed variable to store the plugin clientOptions. Helps in reusing the variable for similar options passed for other widgets on the same page. The following special data attribute will also be added to the input field to allow accessing the client options via javascript:

  • 'data-plugin-inputmask' will store the hashed variable storing the plugin options.
protected void hashPluginOptions ( $view )
$view yii\web\View

The view instance

doc_Yii
2016-10-30 17:18:34
Comments
Leave a Comment

Please login to continue.