@gdyfe/pixel-ratio-fix
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Pixel-Ratio-Fix

非常规整数比缩放比例修复工具包

Install

NPM 安装

sudo npm install @gdyfe/pixel-ratio-fix --save
sudo yarn add @gdyfe/pixel-ratio-fix

Usage

import PixelRatioFix from '@gdyfe/pixel-ratio-fix'

export default {
  created() {
    this.instance = new PixelRatioFix()
    this.instance.init()
  },
  beforeDestroy() {
    this.instance.destroy()
  }
}

Package Sidebar

Install

npm i @gdyfe/pixel-ratio-fix

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

9.98 kB

Total Files

18

Last publish

Collaborators

  • whzcorcd
  • laev
  • shelter01