2017 © Pedro Peláez
 

yii2-extension yii2-mcms-maskmoney

Mask Money base in Jquery maskMoney

image

marciocamello/yii2-mcms-maskmoney

Mask Money base in Jquery maskMoney

  • Thursday, April 24, 2014
  • by MarcioCamello
  • Repository
  • 1 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MCMS Mask Money

Mask Money base in Jquery maskMoney http://plentz.github.io/jquery-maskmoney/, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist marciocamello/yii2-mcms-maskmoney "*"

or add, (*4)

"marciocamello/yii2-mcms-maskmoney": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

    echo $form->field($model, 'price')->widget(\mcms\maskmoney\MaskMoney::className(),[
         'htmlOptions' => [
             'placeholder' => '0.00',
         ]
    ]);

    echo \mcms\maskmoney\MaskMoney::widget([
        'name' => 'price',
        'htmlOptions' => [
            'placeholder' => '0.00',
        ]
    ]);

?>

The Versions

24/04 2014

dev-master

9999999-dev

Mask Money base in Jquery maskMoney

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar MarcioCamello

extension yii2 maskmoney mcms