Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.21 KB

File metadata and controls

33 lines (24 loc) · 1.21 KB

LayoutConfig

Layout configuration for search results display.

Properties

Name Type Description Notes
mode str Display mode for results [optional] [default to 'grid']
columns int Number of columns for grid/masonry layouts [optional] [default to 3]
gap str Gap between items [optional] [default to '16px']
full_width bool Whether to use full viewport width for the layout (edge-to-edge) [optional] [default to False]

Example

from mixpeek.models.layout_config import LayoutConfig

# TODO update the JSON string below
json = "{}"
# create an instance of LayoutConfig from a JSON string
layout_config_instance = LayoutConfig.from_json(json)
# print the JSON string representation of the object
print(LayoutConfig.to_json())

# convert the object into a dict
layout_config_dict = layout_config_instance.to_dict()
# create an instance of LayoutConfig from a dict
layout_config_from_dict = LayoutConfig.from_dict(layout_config_dict)

[Back to Model list] [Back to API list] [Back to README]