@byhealth/walle
TypeScript icon, indicating that this package has built-in type declarations

1.0.30 • Public • Published

Walle

walle瓦力,是抽奖游戏模块化的大管家,它始于抽奖但不止于抽奖,可应用到其他项目。

所有通用模块样式可以高度定制 属性定义参考style

安装

npm i @byhealth/walle -S

结构

Walle

底层模块

import {Loading, Modal, Message, Picker} from '@byhealth/walle';

游戏模块

demo

import {AddressModal, ResultModal, NoticeModal, Msg } from '@byhealth/walle';

工具包

工具包

{
	validate: {...}
    htmlFactory: {
		createDom, 
		removeDom,
		combineDomByClass,
		inlineStyle
	},
	tools: {
		isPC,
		isObject,
		countDown,
		dormancyFor,
		fixpx,
		setEmBase
	},
	regionsDataFormat: {
		formatWheelsData,
		getPositionByDefaultValue
	},
	webAnimation: {
		onceTransitionEnd,
		onceAnimationEnd
	}
}

to do list

  • [ ] change to typescript

/@byhealth/walle/

    Package Sidebar

    Install

    npm i @byhealth/walle

    Weekly Downloads

    1

    Version

    1.0.30

    License

    ISC

    Unpacked Size

    219 kB

    Total Files

    25

    Last publish

    Collaborators

    • byhealth-fed
    • hambutgertwo
    • eightfeet