Issue #160 invalid

Add title property for TbButton

Max Zaets
created an issue

I suggest introduce {{{title}}} property for TbButton. I often use them with icon only, so a native mouseover tooltip would be nice.

Comments (3)

  1. Tomasz Trejderowski

    Why dont you use htmlOptions? Like that:

    <?php $this->widget('bootstrap.widgets.TbButton', array(
        'label'=>'Primary',
        'type'=>'primary',
        'size'=>'large',
        'htmlOptions'=>array('title'=>'My button title')
    )); ?>
    

    You don't need extra property for this.

  2. Log in to comment