type
PreviewBreakpoint
One named authoring viewport offered by live preview.
Properties
| Property | Type | Description |
|---|---|---|
Name | string | Stable breakpoint key. |
Label | string | Author-facing breakpoint name. |
LabelTranslations | map[string]string | Translated breakpoint names. |
Width | int | Viewport width in pixels. |
Height | int | Viewport height in pixels. |
Full signature
type PreviewBreakpoint struct {
Name string
Label string
LabelTranslations map[string]string
Width int
Height int
}