antoha-p / yii2-widget-tooltip
Yii2 widget tooltip
Installs: 4 411
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-widget
Requires
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2024-10-02 05:02:24 UTC
README
This is the Tooltip widget for Yii2 framework. Allows you to display stylized prompts for users in the content.
Installation
The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies.
To install, either run
$ php composer.phar require antoha-p/yii2-widget-tooltip "@dev"
or add
"antoha-p/yii2-widget-tooltip": "@dev"
to the require
section of your composer.json
file.
Usage
use antoha\tooltip\Tooltip; echo Tooltip::widget([ 'content' => "?", 'title' => "This is an example of how a widget works", 'size' => Tooltip::SIZE_LARGE ]);
License
yii2-widget-tooltip is released under the BSD 3-Clause License. See the bundled LICENSE.md
for details.