Skip to content

WidgetTrait ​

Type
Trait
Namespace
craft\base
Implemented by
craft\base\Widget, craft\widgets\CraftSupport, craft\widgets\Feed, craft\widgets\MissingWidget, craft\widgets\MyDrafts, craft\widgets\NewUsers, craft\widgets\QuickPost, craft\widgets\RecentEntries, craft\widgets\Updates
Since
3.0.0

WidgetTrait implements the common methods and properties for dashboard widget classes.

View source

Public Properties ​

PropertyDescription
colspaninteger, null – The user’s chosen cospan for the widget

colspan ​

Type
integer, null
Default value
null

The user’s chosen cospan for the widget

View source