Skip to content

Commit

Permalink
feat(core): add generalLvaluePath for changePropFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
SgLy committed Aug 22, 2024
1 parent b4373a9 commit c06b81e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion glass-easel/src/tmpl/proc_gen_wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,12 @@ export class ProcGenWrapper {
}

// add a change property binding
p(elem: Element, name: string, v: ChangePropListener, generalLvaluePath?: DataPath | null) {
p(
elem: Element,
name: string,
v: ChangePropListener<unknown>,
generalLvaluePath?: DataPath | null,
) {
if (isComponent(elem)) {
if (Component.hasProperty(elem, name)) {
const tmplArgs = getTmplArgs(elem)
Expand Down

0 comments on commit c06b81e

Please sign in to comment.