2017 © Pedro Peláez
 

library yii2-mosaic-widget

yii2-mosaic-widget

image

xj/yii2-mosaic-widget

yii2-mosaic-widget

  • Thursday, November 30, 2017
  • by xjflyttp
  • Repository
  • 1 Watchers
  • 2 Stars
  • 92 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 16 % Grown

The README.md

yii2-mosaic-widget

https://github.com/buildinternet/mosaic, (*1)

composer.json

"require": {
        "xj/yii2-mosaic-widget": "*"
},

In View

use xj\mosaic\Mosaic;
Mosaic::widget(['selector' => '.circle', 'options' => ['opacity' => 0.8]]);
Mosaic::widget(['selector' => '.fade']);
Mosaic::widget(['selector' => '.bar', 'options' => ['animation' => 'slide']]);
Mosaic::widget(['selector' => '.bar2', 'options' => ['animation' => 'fade']]);
Mosaic::widget(['selector' => '.bar3', 'options' => [
        'animation' => 'slide',
        'anchor_y' => 'top'
]]);
Mosaic::widget(['selector' => '.cover', 'options' => [
        'animation' => 'slide',
        'anchor_x' => '400px'
]]);
Mosaic::widget(['selector' => '.cover2', 'options' => [
        'animation' => 'slide',
        'anchor_y' => 'top',
        'hover_y' => '80px'
]]);
Mosaic::widget(['selector' => '.cover3', 'options' => [
        'animation' => 'slide',
        'anchor_x' => '400px',
        'hover_y' => '300px'
]]);

Options

animation : 'fade',
speed : 150,
opacity : 1,
preload : 1,
anchor_x : 'bottom',
anchor_y : 'left',
hover_x : '0px',
hover_y : '0px'
  • @see http://buildinternet.com/project/mosaic/

The Versions

30/11 2017

dev-master

9999999-dev

yii2-mosaic-widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xjflyttp

06/03 2015

1.0.3

1.0.3.0

yii2-mosaic-widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xjflyttp

07/08 2014

1.0.2

1.0.2.0

yii2-mosaic-widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xjflyttp