2017 © Pedro Peláez
 

yii2-extension yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

image

kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  • Friday, September 22, 2017
  • by kartik-v
  • Repository
  • 2 Watchers
  • 18 Stars
  • 357,568 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 6 Forks
  • 4 Open issues
  • 13 Versions
  • 9 % Grown

The README.md

Krajee Logo
yii2-popover-x
Donate

Stable Version Untable Version License Total Downloads Monthly Downloads Daily Downloads, (*1)

An extended popover widget for Yii Framework 2 based on the bootstrap-popover-x jQuery plugin by Krajee. This plugin is an extended popover JQuery plugin which combines both the popover and bootstrap modal features and includes various new styling enhancements. This widget can be setup just like the builtin yii\bootstrap\Modal, with some additional enhancements., (*2)

NOTE: Refer the CHANGE LOG for details on changes to various releases., (*3)

Features

The plugin offers these enhanced features:, (*4)

  • The extended popover can be rendered just like a bootstrap modal dialog with the bootstrap popover styling. Since the plugin extends the bootstrap modal, all features of the bootstrap modal and its methods are also available.
  • Adds a popover footer along with header. Configuration of the HTML content for the popover is much easier, just like a bootstrap modal.
  • Specially styles and spaces out bootstrap buttons added in popover footer.
  • Add a close icon/button to a popover window.
  • Configure various prebuilt styles/templates. In addition to a default (grey), the bootstrap 3 contextual color styles of primary, info, success, danger, and warning can be used.
  • Control popover placements with respect to the target element. The plugin supports 19 different placement options:
    • auto
    • auto-left
    • auto-right
    • auto-top
    • auto-bottom
    • horizontal
    • vertical
    • right
    • left
    • top
    • bottom
    • top top-left
    • top top-right
    • bottom bottom-left
    • bottom bottom-right
    • left left-top
    • left left-bottom
    • right right-top
    • right right-bottom
  • Specially style the popover arrow to be consistent for each contextual color and popover placement.
  • Prebuilt CSS styles for controlling appearance and sizes of the popovers.

NOTE: This extension depends on the kartik-v/yii2-widgets extension which in turn depends on the yiisoft/yii2-bootstrap extension. Check the composer.json for this extension's requirements and dependencies. Note: Yii 2 framework is still in active development, and until a fully stable Yii2 release, your core yii2-bootstrap packages (and its dependencies) may be updated when you install or update this extension. You may need to lock your composer package versions for your specific app, and test for extension break if you do not wish to auto update dependencies., (*5)

Demo

You can see detailed documentation and examples on usage of the extension., (*6)

Installation

The preferred way to install this extension is through composer., (*7)

Note: Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability settings for your application's composer.json., (*8)

Either run, (*9)

$ php composer.phar require kartik-v/yii2-popover-x "dev-master"

or add, (*10)

"kartik-v/yii2-popover-x": "dev-master"

to the require section of your composer.json file., (*11)

Usage

PopoverX

use kartik\popover\PopoverX;

PopoverX::begin([
    'header' => 'Hello world',
    'footer' => Html::button('View', ['class'=>'btn btn-primary']),
    'toggleButton' => ['class'=>'btn btn-primary'],
]);

echo '

' . 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.' . ', (*12)

'; PopoverX::end();

License

yii2-popover-x is released under the BSD 3-Clause License. See the bundled LICENSE.md for details., (*13)

The Versions

22/09 2017

dev-master

9999999-dev https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD-3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

08/09 2017

v1.3.4

1.3.4.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD-3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

12/01 2016

v1.3.3

1.3.3.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD-3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

12/01 2016

v1.3.2

1.3.2.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD-3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

01/07 2015

v1.3.1

1.3.1.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD-3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

25/11 2014

1.3.0.x-dev

1.3.0.9999999-dev https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

25/11 2014

v1.3.0

1.3.0.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

10/11 2014

1.2.0.x-dev

1.2.0.9999999-dev https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

10/11 2014

v1.2.0

1.2.0.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

24/10 2014

1.1.0.x-dev

1.1.0.9999999-dev https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

24/10 2014

v1.1.0

1.1.0.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

05/10 2014

1.0.0.x-dev

1.0.0.9999999-dev https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x

05/10 2014

v1.0.0

1.0.0.0 https://github.com/kartik-v/yii2-popover-x

An extended bootstrap 3.0 popover widget which combines both the bootstrap popover and modal features and includes various new styling enhancements.

  Sources   Download

BSD 3-Clause

The Requires

 

jquery bootstrap modal extended modal-popover popover popover-x