-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2017 | ||
* @package yii2-widgets | ||
* @subpackage yii2-widget-timepicker | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
*/ | ||
|
||
namespace kartik\time; | ||
|
@@ -16,7 +16,8 @@ | |
/** | ||
* The TimePicker widget allows you to easily select a time for a text input using your mouse or keyboards arrow keys. | ||
* Thus widget is a wrapper enhancement over the TimePicker JQuery plugin by rendom forked from the plugin by jdewit. | ||
* Additional enhancements have been done to this input widget for compatibility with Bootstrap 3. | ||
* Additional enhancements have been done to this input widget and plugin by Krajee to fix various bugs, and also | ||
* provide compatibility with Bootstrap 3. | ||
* | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @since 1.0 | ||
|
@@ -31,15 +32,15 @@ class TimePicker extends InputWidget | |
public $size; | ||
|
||
/** | ||
* @var string/boolean the addon content | ||
* @var string|boolean the addon content | ||
*/ | ||
public $addon = '<i class="glyphicon glyphicon-time"></i>'; | ||
|
||
/** | ||
* @var array HTML attributes for the addon container the following special options are identified | ||
* - asButton: boolean if the addon is to be displayed as a button. | ||
* - buttonOptions: array HTML attributes if the addon is to be displayed like a button. If [[asButton]] is true, | ||
* this will default to ['class' => 'btn btn-default'] | ||
* @var array HTML attributes for the addon container. The following special options are recognized: | ||
* - `asButton`: _boolean_, if the addon is to be displayed as a button. | ||
* - `buttonOptions`: _array_, HTML attributes if the addon is to be displayed like a button. If [[asButton]] is | ||
* `true`, this will default to `['class' => 'btn btn-default']`. | ||
*/ | ||
public $addonOptions = []; | ||
|
||
|
@@ -105,7 +106,7 @@ protected function renderInput() | |
} | ||
|
||
/** | ||
* Registers the needed assets | ||
* Registers the client assets for [[Timepicker]] widget | ||
*/ | ||
public function registerAssets() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.