simulator
Options
Props
Use
<simulator :src="src" :textContent="textContent"></simulator>
data() {
return {
src:'',
textContent:'<p>html 片段</p>'
}
}
Option | Type | Description | Default |
---|---|---|---|
src | String | url(优先级更高)) | '' |
textContent | String | 内容html片断 | '' |