0.0.19 • Published 3 years ago

createjsx v0.0.19

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

createjsx

介绍 / Intro

基于 createjs 和 adobe animate 扩展的一些工具和方法。

因此使用此库前,必须保证有 createjs 环境:

  1. html 页面引入 createjs

  2. js 里 引入 createjs

     import createjs from 'createjs-libs'

这两种方法,使用一种即可。

安装 / Install

npm i createjsx

引入 / Import

import 整个包

import * as cjsx from 'createjsx'

import 单个组件

import {DragWidget} from 'createjsx'

使用 / Use

const widget = new cjsx.DragWidget();    
widget.init(mc);   

组件 / Component

组件说明使用备注
DragWidget拖拽组件
TabButtonTab组件
ButtonHelper悬浮按钮
CustomVideoPlayer视频播放器
HitTest碰撞检测类
MsgEvent可以携带参数的事件类
ScrollBar滚动条
ScaleWidget缩放组件
0.0.19

3 years ago

0.0.18

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago