UNPKG

@wanghonggan/uv-ui

Version:

uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。

22 lines (16 loc) 390 B
import {getTransferedObjectUUID} from './classUtils'; const name = 'WebGLShader'; function uuid(id) { return getTransferedObjectUUID(name, id); } export default class WebGLShader { className = name; constructor(id, type) { this.id = id; this.type = type; } static uuid = uuid; uuid() { return uuid(this.id); } }