lagman/yii-qtip2

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

qTip2 component for Yii

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii-extension

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

This package is auto-updated.

Last update: 2021-10-17 13:31:18 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