@tripo3d/lens / vue / TripoLensVueOptions
Interface: TripoLensVueOptions
Defined in: src/vue/index.ts:7
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
onError? | (err) => void | params 序列化失败回调(循环引用等) | TraceDirectiveOptions.onError | src/vue/directive.ts:8 |
name? | string | 指令名(默认 'trace' → v-trace) | - | src/vue/index.ts:9 |
trace? | TripoLens | 已构造(建议已 init)的 TripoLens 实例;提供后可经 useTrace() / this.$trace 命令式调用 | - | src/vue/index.ts:11 |