generated:catalog.entry.aspect-ratio.title
generated:catalog.entry.aspect-ratio.description
@xngui/components/aspect-ratio@xngui/components/aspect-ratiochrome:demo.section
chrome:demo.preview
import { Component } from '@angular/core';
import { XAspectRatio } from '@xngui/components/aspect-ratio';
@Component({
selector: 'app-example',
imports: [XAspectRatio],
templateUrl: './aspect-ratio.component.html',
})
export class ExampleComponent {}
chrome:demo.events.title
chrome:demo.events.empty
chrome:demo.api.title
x-aspect-ratio
chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
ratioXAspectRatioValue16 / 9Width divided by height — e.g. `16:9`, `16 / 9`, or `1`.