# DgIframe

> 基于 elementUi 封装集成度更高的弹窗组件，固定布局和按钮栏。

### 基础用法

::: demo 组件 Iframe 使用示例

```vue
<template>
  <dg-iframe id="myiframe" :src="iframeSrc" ref="iframe" class="svgIframe" @load="getData"></dg-iframe>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {
      iframeSrc: '/index.html',
    }
  },
  methods: {
    getData() {},
  },
}
</script>
```

:::

`

## API （与 elementUi 完全一致的 dialog 属性，以下为特殊属性）

## 更新日志

#### v1.0.0（2020-10-20）

- 初始版本
