Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuler/disable-adjust-fontsize-in-wechat
Disable adjust font size in wechat when browse webpage.
https://github.com/yuler/disable-adjust-fontsize-in-wechat
fontsize wechat
Last synced: 19 days ago
JSON representation
Disable adjust font size in wechat when browse webpage.
- Host: GitHub
- URL: https://github.com/yuler/disable-adjust-fontsize-in-wechat
- Owner: yuler
- Created: 2020-07-13T15:05:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T15:22:35.000Z (over 4 years ago)
- Last Synced: 2024-12-23T00:52:43.637Z (21 days ago)
- Topics: fontsize, wechat
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Disable Adjust Font Size in WeChat
Disable adjust font size in wechat when browse webpage.
Use `WeixinJSBridge` listen `menu:setfont` event and set always to `{ fontSize: 0 }`.
![snapshot](./snapshot.png)
# Installation
```bash
npm install disable-adjust-fontsize-in-wechat --save
```# Usage
```js
import disableAdjustFontSize from 'disable-adjust-fontsize-in-wechat'disableAdjustFontSize()
```# License
MIT