AspectRatioView.content
property · packages/mixins-ui/src/aspectRatio.ts:19
readonly content?: Html | undefinedMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/aspectRatio.ts:18
interface AspectRatioView<Message = never> {
readonly content?: Html | undefined
readonly style?: NamedStyle<typeof AspectRatioSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}A frame in one call: the content it crops to the ratio, a style for its slot, and mixins beside the style.
AspectRatioView.contentproperty · packages/mixins-ui/src/aspectRatio.ts:19
readonly content?: Html | undefinedAspectRatioView.styleproperty · packages/mixins-ui/src/aspectRatio.ts:21
readonly style?: NamedStyle<typeof AspectRatioSlots> | undefinedA style of AspectRatioSlots, for the frame's look.
AspectRatioView.mixinsproperty · packages/mixins-ui/src/aspectRatio.ts:23
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.