跳到主要内容

eo-iframe

<eo-iframe>

构件 eo-iframe

Properties

NameDescriptionTypeDefaultRequired
srcstring
iframeStyle

Default style:

iframe {
  margin: 0;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  vertical-align: top;
}
CSSProperties

Events

NameDescriptionEvent Detail
loadvoid

Methods

NameDescriptionParamsReturns
postMessageparam_1: PostMessageParameters

Type references

PostMessageParameters

[message: unknown, targetOrigin: string, transfer?: Transferable[]] | [message: unknown, options?: WindowPostMessageOptions]