Giter Club home page Giter Club logo

vue2-m-icon's Introduction

MICON

图标插件

mIcon 是个开源图标选择插件。插件采用remixicon开源图标库。可免费用于个人项目和商业项目,Enjoy it~

使用说明

基本用法

仓库地址 https://github.com/mifan007/vue2-m-icon.git

图破了,Sakyamuni

安装引入

Note:

npm安装

npm install vue2-m-icon --save

入口文件引入 CSS

import 'vue2-m-icon/dist/mIcon.css'
Vue.use(micon)

使用

<template>
    <m-icon @onChoose="choose" @onCopy="copy" language="cn"></m-icon>
</template>

PROPS

属性名 说明 类型 可选项 默认值
language 语言类型 string cn、en cn

方法事件

事件名 说明 类型 返回值
onChoose 选择图标 string 'ri-file-copy-2-fill'
onCopy 复制图标 string '<i class="ri-arrow-down-circle-fill 2"></i>'

vue2-m-icon's People

Contributors

mifan007 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.