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 (opens new window)
# Public Properties
Property | Description |
---|---|
colspan | integer (opens new window), null (opens new window) – The user’s chosen cospan for the widget |
# colspan
- Type
- integer (opens new window), null (opens new window)
- Default value
null
The user’s chosen cospan for the widget