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.
Public Properties ​
Property | Description |
---|---|
colspan | integer, null – The user’s chosen cospan for the widget |
colspan
​
The user’s chosen cospan for the widget