widgets
Table of Contents
Packages
- yii2
Interfaces
- AlertInterface
- Interface used in [[Alert]], [[AlertBs4]] and [[AlertBs3]] widgets.
Classes
- ActiveField
- ActiveField represents a form input field within an [[ActiveForm]] and extends the [[YiiActiveField]] component
to handle various bootstrap functionality like form types, input groups/addons, toggle buttons, feedback icons, and
other enhancements.
- ActiveForm
- ActiveForm is a widget that builds an interactive HTML form for one or multiple data models and extends the
[[YiiActiveForm]] widget to handle various bootstrap form types and new functionality.
- ActiveFormAsset
- Asset bundle for the [[ActiveForm]] widget and [[ActiveField]] component.
- Bs4CustomFileInputAsset
- Asset bundle for the custom file input animation for bootstrap 4.x.
- Affix
- A scrollspy and affixed enhanced navigation to highlight sections and secondary
sections in each page
- AffixAsset
- Asset bundle for Affix Widget
- Alert
- Alert widget extends the yii2 bootstrap Alert widget with an easier configuration and additional
styling options including auto fade out.
- AlertAsset
- Asset bundle for the [[Alert]] widget.
- AlertBlock
- AlertBlock widget groups multiple [[Alert]] or [[Growl]] widgets as one single block. You can choose to
automatically read and display session flash messages (which is the default setting) or setup your own block of
custom alerts.
- Bs3Alert
- Alert widget extends the [[Alert]] widget with an easier configuration and additional styling options including
auto fade out.
- Bs4Alert
- Alert widget extends the [[Alert]] widget with an easier configuration and additional styling options including
auto fade out.
- Bs5Alert
- Alert widget extends the [[Alert]] widget with an easier configuration and additional styling options including
auto fade out.
- ColorInput
- ColorInput widget is an enhanced widget encapsulating the HTML 5 color input.
- ColorInputAsset
- Asset bundle for ColorInput Widget
- DatePicker
- DatePicker widget is a Yii2 wrapper for the Bootstrap DatePicker plugin by @eternicode and provides a flexible
datepicker widget in Bootstrap style.This DatePicker widget by Krajee also includes additional features and
enhancements to the core plugin like better useful bootstrap addons. It includes an enhanced date clear addon button
to clear dates easily. It also adds ability to configure and render the datepicker INLINE, or as a BUTTON, or as a
date RANGE by integrating with the [[\kartik\field\FieldRange]] widget.
- DatePickerAsset
- Asset bundle for DatePicker Widget
- DateTimePicker
- DateTimePicker widget is a Yii2 wrapper for the Bootstrap DateTimePicker plugin by smalot. This is a fork of the
DatePicker plugin by @eternicode and adds the time functionality.
- DateTimePickerAsset
- Asset bundle for the [[DateTimePicker]] widget.
- DepDrop
- Dependent Dropdown widget is a wrapper widget for the dependent-dropdown
JQuery plugin by Krajee. The plugin enables setting up dependent dropdowns
with nested dependencies.
- DepDropAction
- Dependent Dropdown action that can be used to generate the dependent option values via ajax response. A typical
usage of this action in your controller could look like below:
- DepDropAsset
- Asset bundle for Dependent Dropdown widget
- DepDropExtAsset
- Asset bundle for Dependent Dropdown Extension for Yii
- BaseAsset
- BaseAsset is the base asset bundle class used by all FileInput widget asset bundles.
- FileInput
- Wrapper for the Bootstrap FileInput JQuery Plugin by Krajee. The FileInput widget is styled for Bootstrap 3.x,
4.x & 5.x with ability to multiple file selection and preview, format button styles and inputs. Runs on all modern
browsers supporting HTML5 File Inputs and File Processing API. For browser versions IE9 and below, this widget
will gracefully degrade to a native HTML file input.
- FileInputAsset
- Asset bundle for FileInput Widget
- FileInputThemeAsset
- Theme Asset bundle for the FileInput Widget
- FileTypeParserAsset
- File type parser asset bundle for FileInput Widget
- PiExifAsset
- PiExif Asset bundle for FileInput Widget
- SortableAsset
- Sortable asset bundle for FileInput Widget
- GrowlAsset
- Asset bundle for [[Growl]] widget
- RangeInput
- RangeInput widget is an enhanced widget encapsulating the HTML 5 range input.
- StarRating
- StarRating widget is a wrapper widget for the Bootstrap Star Rating plugin by Krajee. This plugin is a simple star
rating yet powerful control that converts a 'number' input to a star rating control using JQuery. The widget is
styled for Bootstrap 3.0. Upgraded for the new plugin support. Includes fractional ratings with editable star
symbol, RTL inputs, and custom styling.
- StarRatingAsset
- Asset bundle for StarRating Widget
- StarRatingThemeAsset
- Theme Asset bundle for StarRating Widget
- Select2
- Select2 widget is a Yii2 wrapper for the Select2 jQuery plugin. This input widget is a jQuery based replacement for
select boxes. It supports searching, remote data sets, and infinite scrolling of results. The widget is specially
styled for all major Bootstrap releases 3.x, 4.x & 5.x.
- Select2Asset
- Asset bundle for [[Select2]] Widget. Includes assets from the select2 plugin library.
- Select2KrajeeAsset
- Krajee asset bundle for [[Select2]] Widget.
- ThemeAsset
- Base theme asset bundle for the [[Select2]] widget.
- ThemeBootstrapAsset
- Asset bundle for the bootstrap theme for the [[Select2]] widget.
- ThemeClassicAsset
- Asset bundle for the classic theme for the [[Select2]] widget.
- ThemeDefaultAsset
- Asset bundle for the default inbuilt theme for the [[Select2]] widget.
- ThemeKrajeeBs3Asset
- Asset bundle for the Krajee theme for the [[Select2]] widget.
- ThemeKrajeeBs4Asset
- Asset bundle for the Krajee theme for the [[Select2]] widget.
- ThemeKrajeeBs5Asset
- Asset bundle for the Krajee theme for the [[Select2]] widget.
- ThemeMaterialAsset
- Asset bundle for the Krajee theme for the [[Select2]] widget.
- SideNav
- A custom extended side navigation menu extending Yii Menu
- SideNavAsset
- Asset bundle for SideNav Widget
- Spinner
- A widget that wraps the spin.js - an animated CSS3 loading spinner
with VML fallback for IE.
- SpinnerAsset
- Asset bundle for Spinner Widget
- SwitchInput
- Switch widget is a Yii2 wrapper for the Bootstrap Switch plugin by Mattia, Peter, & Emanuele. This input widget is a
jQuery based replacement for checkboxes and radio buttons and converts them to toggle switchinputes.
- SwitchInputAsset
- Asset bundle for Switch Widget
- TimePicker
- The TimePicker widget allows you to easily select a time for a text input using your mouse or keyboards arrow keys.
- TimePickerAsset
- Asset bundle for TimePicker Widget
- TouchSpin
- TouchSpin widget is a Yii2 wrapper for the bootstrap-touchspin plugin by István Ujj-Mészáros. This input widget is a
mobile and touch friendly input spinner component for Bootstrap 3.
- TouchSpinAsset
- Asset bundle for TouchSpin Widget
- Typeahead
- Typeahead widget is a Yii2 wrapper for the Twitter typeahead.js plugin. This
input widget is a jQuery based replacement for text inputs providing search
and typeahead functionality. It is inspired by twitter.com's autocomplete search
functionality and based on Twitter's typeahead.js which Twitter mentions as
a fast and fully-featured autocomplete library.
- TypeaheadAsset
- Asset bundle for Typeahead advanced widget
- TypeaheadBasic
- Typeahead widget is a Yii2 wrapper for the Twitter typeahead.js plugin. This
input widget is a jQuery based replacement for text inputs providing search
and typeahead functionality. It is inspired by twitter.com's autocomplete search
functionality and based on Twitter's typeahead.js which Twitter mentions as
a fast and fully-featured autocomplete library.
- TypeaheadBasicAsset
- Asset bundle for Typeahead Widget (Basic)
- TypeaheadHBAsset
- Asset bundle for Typeahead Handle Bars plugin
- ActiveField
- Extends the ActiveField component to handle various bootstrap form types and handle input groups.
- ActiveForm
- Extends the ActiveForm widget to handle various
bootstrap form types.
- Affix
- A scrollspy and affixed enhanced navigation to highlight sections and secondary
sections in each page
- Alert
- Extends the \yii\bootstrap\Alert widget with additional styling and auto fade out options.
- AlertBlock
- Alert block widget that groups multiple `\kartik\widget\Alert` or `kartik\widget\Growl` widgets as one single block.
- AssetBundle
- Base asset bundle for all widgets
- ColorInput
- ColorInput widget is an enhanced widget encapsulating the HTML 5 color input.
- DatePicker
- DatePicker widget is a Yii2 wrapper for the Bootstrap DatePicker plugin. The
plugin is a fork of Stefan Petre's DatePicker (of eyecon.ro), with improvements
by @eternicode.
- DateTimePicker
- DateTimePicker widget is a Yii2 wrapper for the Bootstrap DateTimePicker plugin by smalot
This is a fork of the DatePicker plugin by @eternicode and adds the time functionality.
- DepDrop
- Dependent Dropdown widget is a wrapper widget for the dependent-dropdown
JQuery plugin by Krajee. The plugin enables setting up dependent dropdowns
with nested dependencies.
- FileInput
- FileInput widget styled for Bootstrap 3.0 with ability to multiple file
selection and preview, format button styles and inputs. Runs on all modern
browsers supporting HTML5 File Inputs and File Processing API. For browser
versions IE9 and below, this widget will gracefully degrade to normal HTML
file input.
- InputWidget
- Base input widget class for yii2-widgets
- RangeInput
- RangeInput widget is an enhanced widget encapsulating the HTML 5 range input.
- Select2
- Select2 widget is a Yii2 wrapper for the Select2 jQuery plugin. This
input widget is a jQuery based replacement for select boxes. It supports
searching, remote data sets, and infinite scrolling of results. The widget
is specially styled for Bootstrap 3.
- SideNav
- A custom extended side navigation menu extending Yii Menu
- Spinner
- A widget that wraps the spin.js - an animated CSS3 loading spinner
with VML fallback for IE.
- StarRating
- StarRating widget is a wrapper widget for the Bootstrap Star Rating plugin by Krajee.
- SwitchInput
- Switch widget is a Yii2 wrapper for the Bootstrap Switch plugin by Mattia, Peter, & Emanuele.
- TimePicker
- 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.
- TouchSpin
- TouchSpin widget is a Yii2 wrapper for the bootstrap-touchspin plugin by
István Ujj-Mészáros. This input widget is a mobile and touch friendly input
spinner component for Bootstrap 3.
- Typeahead
- Typeahead widget is a Yii2 wrapper for the Twitter typeahead.js plugin. This
input widget is a jQuery based replacement for text inputs providing search
and typeahead functionality. It is inspired by twitter.com's autocomplete search
functionality and based on Twitter's typeahead.js which Twitter mentions as
a fast and fully-featured autocomplete library.
- TypeaheadBasic
- Typeahead widget is a Yii2 wrapper for the Twitter typeahead.js plugin. This
input widget is a jQuery based replacement for text inputs providing search
and typeahead functionality. It is inspired by twitter.com's autocomplete search
functionality and based on Twitter's typeahead.js which Twitter mentions as
a fast and fully-featured autocomplete library.
- Widget
- Base widget class for yii2-widgets
- WidgetAsset
- Common base widget asset bundle for all Krajee widgets
Traits
- AlertMethodsTrait
- Alert methods trait for [[AlertBs4]] and [[AlertBs3]] widgets
- AlertTrait
- Alert properties trait for [[Alert]], [[AlertBs4]] and [[AlertBs3]] widgets