cenotia / yii2-calculator-widget
A calculator widget operated by vueJs
Installs: 101
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Type:yii2-extension
Requires
- bower-asset/vue: ~2.3.0
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-01-05 05:53:58 UTC
README
This is a calculator widget which uses vuejs in the background.
Prerequisite
It loads vuejs in case it is not already there.
Installation
The preferred way to install Yii2 Calculator Widget is through Composer. Either add the following to the require section of your composer.json
file:
"cenotia/yii2-calculator-widget": "dev-master"
Or run:
$ php composer.phar require cenotia/yii2-calculator-widget "dev-master"
Using Calculator Widget
CalculatorWidget is in namespace cenotia\components\calculatorWidget\CalculatorWidget
.
Usage:
use cenotia\components\calculatorWidget\CalculatorWidget;
...
<?php echo CalculatorWidget::widget(); ?>
...