lagman/yii-qtip2

qTip2 component for Yii

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Language:JavaScript

Type:yii-extension

dev-master 2014-04-14 08:26 UTC

This package is auto-updated.

Last update: 2024-12-17 20:21:48 UTC


README

By Alexey Samoylov (alexey.samoylov@gmail.com). Based on Parcouss qTip2 extension.

Requirements

  • PHP 5.4
  • Yii 1.x

Examples

Global component configuration example:

'components' => [
	'qTip2' => [
	    'class' => 'ext.qTip2.qTip2',
	    'options' => [
	        'position' => [
	            'my' => 'middle left',
	            'at' => 'middle right',
	        ]
	    ],
	],
]

Usage example:

Yii::import('ext.qTip2.qTip2');
qTip2::apply('input[title], textarea[title], select[title]');

echo $form->fileField($model, 'example_field', [
    'title' => 'Example tooltip.',
]);

Links

https://github.com/russianlagman/yii-qtip2