0.0.19 • Published 5 years ago

createjsx v0.0.19

Weekly downloads
2
License
ISC
Repository
github
Last release
5 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

5 years ago

0.0.18

5 years ago

0.0.13

5 years ago

0.0.14

5 years ago

0.0.15

5 years ago

0.0.16

5 years ago

0.0.17

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago