ak868308 / yii2-anno
Better step-by-step guides for powerful web apps
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2025-06-16 20:56:59 UTC
README
Better step-by-step guides for powerful web apps
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ak868308/yii2-anno "*"
or add
"ak868308/yii2-anno": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \ak868308\anno\Anno::widget([ 'var' => 'anno1', 'triggerOnLoad' => TRUE, 'oneTime' => TRUE, 'pluginOptions' => [ [ 'target' => '#element1', 'content' => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s', 'position' => 'left', 'className' => 'anno-width-200', // 150,175,200,250 (default 300) 'buttons' => [ak868308\anno\Anno::NEXT_BUTTON] ], [ 'target' => '#element2', 'content' => 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s', 'position' => 'left' ], ] ]); ?>```