Vue enter key

represent \n as enter key glyph.

Version: 1.0.2 Updated: 11/05/2015

By: yasslab License: ISC

Downloads Last 30 Days: 26

Install

npm i vue-enter-key
yarn add vue-enter-key

Repository: https://github.com/yasslab/vue-enter-key

CDNs

bundle.run: https://bundle.run/vue-enter-key

jsDelivr: https://cdn.jsdelivr.net/npm/vue-enter-key

unpkg: https://unpkg.com/vue-enter-key

vue-enter-key Build Status

NPM

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>

Contributors



hanachin
commits

Dependencies


DevDependencies


Categories: Vue js
Tags: vuefilter