npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@xatali/primate-effect-show

v1.0.13

Published

primate的效果,表单等

Downloads

3

Readme

primate-effect-show

介绍

primate的效果,表单等

test下的示例会在官网,文档页被使用。

使用说明

  1. node环境中使用

      npm install @xatali/primate-effect-show
  2. 浏览器环境中使用

  • 加载所有。
<script src="https://file.primate3d.com/release/primateEffectShow/[email protected]" CHARSET="UTF-8"></script>
  • 按需加载。
   <script src="https://file.primate3d.com/release/primateEffectShow/blinkSingleLabel/[email protected]" CHARSET="UTF-8"></script>

如上示例,为加载一个模块。其中@1.0.0为版本号,blinkSingleLabel为模块名称,加载其它模块的方式完全相同,只要替换模块名称即可。

加载完成后将会在PRIMATE命名空间下新增对象BlinkSingleLabel(模块名称的首字母大写)来实现其功能。每种模块使用方式有所不同,具体参考开发文档。

版本说明

  1. 1.0.0。

将原Graphics3DEngine工程中的迁移至此工程,并完善打包发布等脚本。

  1. 1.0.1
  • SpecialEffectAbstract增加更新方法

  • 所有的示例增加GUI调整.

  1. 1.0.2
  • 增加加载动画。
  1. 1.0.3
  • SpecialEffectAbstract中增加。formatRotation方法,用于规范角度。

    初始化参数均增加isRad属性,代表是否为弧度。默认为true。 当为false时,所有设置rotation的属性都需要使用角度值。

  1. 1.0.4
  • 增加标签

    • MultipleTextLabel

      多行文本标签

    • MultipleTextLabel1

    多行文本标签

    • MultipleTextLabel2

    多行文本标签

    • MultipleTextLabel3

    多行文本标签

    • MultipleTextLabel4

    多行文本标签

  • 增加两种SpecialEffectAbstract抽象类实现。

    • DomSpecialEffect

    使用纯dom创建的标签及效果。即最终的modelGroup为一个PRIMATE.CSS2DObject时需要继承此类。 内部使用了Dom的 on方法来添加事件,在外部请不要再domElement上使用on添加方法。

    • GraphicSpecialEffect

    使用了模型创建的效果。即最终的modelGroup为一个PRIMATE3D.Group。PRIMATE3D.Mesh时需要继承此类

  1. 1.0.5
  • 增加标签

    • MultipleTextLabel5

    多行文本标签

    • MultipleTextLabel6

    多行文本标签

    • blinkSingleLabel1

    闪烁单个文本标签

    • singleLabel1

    单个文本标签

    • singleLabel2

    单个文本标签

    • singleLabel3

    单个文本标签

    • singleLabel4

    单个文本标签

  1. 1.0.6

修复了HTMLCSSObject标签事件的添加。

  1. 1.0.7

修复keyValuePairChart 创建时无回调函数无法创建,及点击问题。

  1. 1.0.8

修复了keyValuePairChart 旋转问题。

  1. 1.0.9

修复单行标签事件添加问题。

  1. 1.0.10

修复bug。

  1. 1.0.11

修复某些dom标签在更新后事件丢失bug。

  1. 1.0.12

对所有的dom标签新增scaleByDistance属性,用于标签跟随相机缩放。

  1. 1.0.13(未发布)
  • 将抽象父类修改为泛型类。已支持更准确的子类创建对象类型。

  • 新增两个效果 point1.html 和 pointTag1.html;