generated:catalog.entry.embed.title
generated:catalog.entry.embed.description
@xngui/components/embed@xngui/components/embedchrome:demo.section
chrome:demo.preview
import { Component } from '@angular/core';
import { XEmbed } from '@xngui/components/embed';
@Component({
selector: 'app-example',
imports: [XEmbed],
templateUrl: './embed.component.html',
})
export class ExampleComponent {}
chrome:demo.events.title
chrome:demo.events.empty
chrome:demo.api.title
x-embed
chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
srcXFileSource—iframe source — URL or other XFileSource resolvable to a URL.
titlestring—Accessible title for the iframe (required).
ratioXAspectRatioValue16 / 9Aspect ratio for the responsive frame.
sandboxedbooleantrueApply a restrictive `sandbox` (scripts + presentation, no `allow-same-origin`). Set `false` only as an explicit, dangerous opt-out that removes sandbox entirely.