Socket
Socket
Sign inDemoInstall

nuke-iconfont

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-iconfont

iconfont


Version published
Weekly downloads
25
decreased by-71.59%
Maintainers
1
Weekly downloads
 
Created
Source

Iconfont

  • category: API
  • chinese: iconfont
  • type: API能力

API

  • Iconfont(options) 提供一个静态方法,用于设置iconfont,以便灵活地使用webfont 作为icon

Iconfont

Iconfont({name:"iconfont1",url:"https://at.alicdn.com/t/font_1474198576_7440977.ttf"});
options
  • options.name : iconfont名称,例如 'iconfont1'
  • options.url : iconfont路径,当前仅支持 ttfwoff 格式 例如 'https://at.alicdn.com/t/font_1474198576_7440977.ttf', 支持http,https,scheme 自适应

备注

  • nuke-icon组件为你内置了十几个常见的icon,你可以直接使用,具体列表详见该组件文档。
  • iconfont 字符集ttf文件,可以从 iconfont.cn 导出。

Keywords

FAQs

Package last updated on 09 Jul 2017

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