Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-scribe

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-scribe

## 安装 ``` npm安装 npm i vue-scribe

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vue-scribe

安装

npm安装
npm i vue-scribe

yarn安装
yarn add vue-scribe

使用

全局
import Vue from 'vue'
import vueScribe from "vue-scribe"
Vue.use(vueScribe)

局部
import vueScribe from "vue-scribe"
componetns:{vueScribe}

组件位置
<vue-scribe :options="{}" />

配置

  config: {
    /**
     * @description text content
     * @type {String}
     * @default text = '我是一段文本我是一段文本我是一段文本我是一段文本我是一段文本我是一段文本'
     */
    text: '我是一段文本我是一段文本我是一段文本我是一段文本我是一段文本我是一段文本',
    /**
     * @description underline color
     * @type {String}
     * @default lineColor = '#000'
     */
    lineColor: '#000',
    /**
     * @description underline width
     * @type {String<Number>}
     * @default lineWidth = 1
     */
    lineWidth: 1,
    /**
     * @description set underline button background color
     * @type {String}
     * @default btnBgColor = 'rgba(0,0,0,.6)'
     */
    btnBgColor: 'rgba(0,0,0,.6)',
    /**
     * @description set underline button font color
     * @type {String}
     * @default btnTextColor = '#fff'
     */
    btnTextColor: '#fff',
    /**
     * @description set underline button font size
     * @type {String<Number>}
     * @default btnTextSize = 16
     */
    btnTextSize: 16,
  }

参考地址

https://www.cnblogs.com/wanglinmantan/p/15106871.html

Keywords

FAQs

Package last updated on 27 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc