135
rated 0 times
[
140]
[
5]
/ answers: 1 / hits: 57983
/ 7 Years ago, fri, april 28, 2017, 12:00:00
I have this pdf embedded on my Vue file, but I want to get the content from a div where I define the html table:
<template>
<div id=editor> HTML TABLE HERE </div>
<iframe :src=iframe.src type=application/pdf width=100%
height=650 frameborder=0 style=position:relative;z
index:999 ref=frame @load=load v-show=iframe.loaded>
</iframe>
</template>
<script>
export default {
data() {
return {
iframe: {
src: '', //DIV HERE #EDITOR
loaded: false
}
}
},
methods: {
load: function(){
this.iframe.loaded = true;
}
}
}
</script>
Is this possible?
More From » iframe