Bilibili-Evolved/registry/lib/components/style/custom-navbar/iframe/IframePopup.vue
2023-02-07 15:32:00 +08:00

21 lines
366 B
Vue

<template>
<iframe
ref="el"
:src="item.src"
frameborder="0"
:width="item.width"
:height="item.height"
></iframe>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { popupProps, usePopup } from '../mixins'
export default defineComponent({
name: 'IframePopup',
props: popupProps,
setup: usePopup,
})
</script>