<template>
  <div id="iframe" style="width: 100%;">
    <iframe :src="url" :name="name"
            :style="styleMap"
            :frameBorder="frameBorder">
    </iframe>
  </div>
</template>
<script>
import proto from '../spcp-proto.vue';
export default {
    name: "spcp-iframe",
    extends: proto,
    props:{
      url: {type: String,default:''},
      name:{type:String,default:''},
      frameBorder:{type:Number,default:0},
      styleMap: {type:Object,default:() => {return {}}}
    },
    data(){
        return {

        }
    },
    created() {
    },
}
</script>
<style scoped>

</style>
