1.2.0 • Published 5 years ago
streaming-component v1.2.0
streaming-component
Streaming component for Vue.js and Valet
Example
<template>
<lead-stream shodata="false" :tokenURL="tokenURL" :streamURL="streamURL"></lead-stream>
</template>
<script>
import streamingComponent from 'streaming-component';
export default{
name:'app',
components:{
streamingComponent:'lead-stream'
},
data(){
tokenURL:'http://urlgoeshere.com',
streamURL:'http://streamurlgoeshere.com',
tokens:{
"tokenName":{
"name":"tokenName",
"value":"12345",
"stream":{}
}
}
}
}
</script>