2017 © Pedro Peláez
 

yii2-extension yii2-make-button

For make button

image

aki/yii2-make-button

For make button

  • Sunday, February 12, 2017
  • by akbarjoody
  • Repository
  • 2 Watchers
  • 1 Stars
  • 5 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Make button

For make button, (*1)

Installation

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

Either run, (*3)

php composer.phar require aki/yii2-make-button "*"

or add, (*4)

"aki/yii2-make-button": "*"

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

Usage

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

<?= \aki\button\MakeButton::widget([
    'text' => '<i class="fa fa-edit"></i> hello',
]); ?>

also create ajax request sample :, (*7)

<?= aki\button\MakeButton::widget([
        'text' => '<i class="fa fa-edit"></i> hello',
        'ajax' => [
            'onSendRequest' => 'click',
            'url' => Url::toRoute(['post/index']),
            'type' => 'POST',
            'success' => new yii\web\JsExpression('
                function(data){
                    alert(data);
                }
            '),
            'data' => new yii\web\JsExpression("datafrom('#form')"),
        ]
]);?>

also diffrent skin exists, (*8)

styles :, (*9)

bootstrap
createive

set skin creative, (*10)

<?= aki\button\MakeButton::widget([
        'text' => '<span>Add to cart</span>',
        'skin' => 'creative',
        'options' => [
            'class' => aki\button\MakeButton::style()->creative->btn3e_send
        ],
]);?>

The Versions

12/02 2017

dev-master

9999999-dev

For make button

  Sources   Download

LGPL-3.0+

The Requires

 

by akbar joudi

yii2 button yii2-button button-effect meke-button make-easy-button beautiful-button

11/02 2017

1.0

1.0.0.0

For make button

  Sources   Download

LGPL-3.0+

The Requires

 

by akbar joudi

yii2 button yii2-button button-effect meke-button make-easy-button beautiful-button