vue-control-picture
v1.0.0
Published
represent control characters as unicode control pictures glyph.
Downloads
7
Readme
vue-control-picture
Usage
<template>
<h1>Vue Control Picture</h1>
<h2>Before</h2>
<pre>{{message}}</pre>
<h2>After<h2>
<pre>{{message | controlPicture }}</pre>
</template>
<script>
var Vue = require('vue');
var VueControlPicture = require('vue-control-picture');
Vue.use(VueControlPicture);
module.exports = {
data: function () {
return {message: "hello, world!\nこんにちは世界!\n你好世界!"};
}
}
</script>