You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This function will try to parse and replace any variable expression found in the target string. The sceneObject will be used as the source of variables. It will
20
14
* use the scene graph and walk up the parent tree until it finds the closest variable.
@@ -26,7 +20,7 @@ export function sceneInterpolator(
26
20
sceneObject: SceneObject,
27
21
target: string|undefined|null,
28
22
scopedVars?: ScopedVars,
29
-
format?: string|CustomFormatterFn
23
+
format?: string|VariableCustomFormatterFn
30
24
): string{
31
25
if(!target){
32
26
returntarget??'';
@@ -56,7 +50,7 @@ export function sceneInterpolator(
0 commit comments