Skip to content

Commit 49babf2

Browse files
committed
feat: allow getting properties from builder
1 parent f566dcc commit 49babf2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

glass-easel/src/behavior.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,12 @@ export class BehaviorBuilder<
398398
return this as any
399399
}
400400

401+
static getProperties<TProperty extends PropertyList = Empty>(
402+
builder: BehaviorBuilder<any, any, TProperty, any, any, any, any>,
403+
) {
404+
return builder._$properties
405+
}
406+
401407
/**
402408
* Add a single property
403409
*

0 commit comments

Comments
 (0)