CaWidgetArea
The area that contains the widget containers and from which the graphql query for widgets is made.
SASS-path: ./styles/components/molecules/ca-widget-area.scss
Props
Name | Description | Type | Required | Default |
---|
family | The widget area family | String | false | - |
areaName | The widget area name | String | false | - |
alias | The widget area alias, if content page | String | false | - |
widgetImageSizes | Sizes attribute for widget images. Set with widget size as key like so: {full: '(min-width:1360px) 1320px, 96vw'} etc. Defaults to $config.widgetImageSizes if not set | Object | false | null |
filters | Filters for the area | Array | false | [] |
preview | Whether preview-mode should be toggle on | Boolean | false | false |
isParentLoaded | if true - component loads info on its own | Boolean | false | false |
isParentDataLoaded | Is loadedData loaded | Boolean | false | false |
loadedData | Data of widget that we receive from parent component. Avaible only if isParentLoaded are true | Object | false | null |
listPageUrl | Url for list page if using /l/ routing | String | false | - |
Events
Event Name | Description | Parameters |
---|
dataFetched | - | - |
variables-change | - | - |
widget-area-mounted | - | - |
MixIns