cione-comp-lib
Version:
`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`
2 lines (1 loc) • 534 B
JavaScript
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e=require("vue");const r=e.defineComponent({name:"CoIframeStd",props:{src:{type:String,required:!0},width:{type:String},height:{type:String}},setup:r=>({...e.toRefs(r)}),render(){return e.h("iframe",{frameborder:"0",scrolling:"no",marginheight:"0",marginwidth:"0",allowTransparency:"true",width:this.width||"100%",height:this.height||"100%",src:this.src,class:"co-iframe-std",style:{margin:"-2px"}})}});exports.default=r;