vue-enter-key
v1.0.2
Published
represent \n as enter key glyph.
Downloads
6
Readme
vue-enter-key
Usage
<template>
<h1>↵</h1>
<p>{{message | enterKey }}</p>
<h1>♡<h1>
<p>{{message | enterKey "♡" }}</p>
</template>
<script>
var Vue = require('vue');
var VueEnterKey = require('vue-enter-key');
Vue.use(VueEnterKey);
module.exports = {
data: function () {
message: "hello\nこんにちは\n你好"
}
}
</script>