Should we increase the library then and adopt those that are just based on HTML markup? (ie. Toolbars, button groups, progress bars, etc)
Enviado desde mi BlackBerry® de Vodafone

-----Original Message-----
From: Qiang Xue <notifications@github.com>
Date: Wed, 29 May 2013 10:46:40 
To: yiisoft/yii2<yii2@noreply.github.com>
Reply-To: yiisoft/yii2 <reply@reply.github.com>
Cc: Antonio Ramirez<antonio@ramirezcobos.com>
Subject: Re: [yii2] [wip]added button group dropdowns (#444)

> @@ -0,0 +1,159 @@
> +<?php
> +/**
> + * @link http://www.yiiframework.com/
> + * @copyright Copyright (c) 2008 Yii Software LLC
> + * @license http://www.yiiframework.com/license/
> + */
> +
> +namespace yii\bootstrap;
> +
> +use yii\base\InvalidConfigException;
> +use yii\helpers\Html;
> +
> +
> +/**
> + * Button renders a group or split button dropdown bootstrap component.

I think for bootstrap, we can stick to the widget pattern. Static helper and widget can do the same thing. But widget can be more easily customized and extended.

---
Reply to this email directly or view it on GitHub:
https://github.com/yiisoft/yii2/pull/444/files#r4440383