Skip to main content

system.kanoa.dashboard.getBreakpoints(paramsDict)

Get breakpoints based on the paramsDict


Parameters

paramsDict Dictionary

- breakpointIdInteger
- breakpointNameString
- enabledBoolean

Returns

breakpointData pyDataset


Example

data = system.kanoa.dashboard.getBreakpoints({'enabled':True})
print system.kanoa.utilities.convertDatasetToJSON(data)
> [
{
'rowGap': 5,
'columnCount': 5,
'enabled': True,
'breakpointId': 3,
'changedDate': None,
'breakpointName': u'Mobile',
'createdDate': Mon Jul 08 18:33:35 UTC 2024,
'size': 590,
'columnGap': 5,
'createdBy': 39,
'changedBy': None,
'columnWidth': None,
'rowCount': 30,
'breakpointDescription': None,
'rowHeight': 50
},
{
'rowGap': 5,
'columnCount': 10,
'enabled': True,
'breakpointId': 1,
'changedDate': None,
'breakpointName': u'Tablet',
'createdDate': Mon Jul 08 18:33:35 UTC 2024,
'size': 960,
'columnGap': 5,
'createdBy': 39,
'changedBy': None,
'columnWidth': None,
'rowCount': 25,
'breakpointDescription': None,
'rowHeight': 50
},
{
'rowGap': 5,
'columnCount': 20,
'enabled': True,
'breakpointId': 2,
'changedDate': None,
'breakpointName': u'Desktop',
'createdDate': Mon Jul 08 18:33:35 UTC 2024,
'size': None,
'columnGap': 5,
'createdBy': 39,
'changedBy': None,
'columnWidth': None,
'rowCount': 20,
'breakpointDescription': None,
'rowHeight': None
}
]
>