Skip to content

get(k) on mathbox root ignores bound properties #59

@sritchie

Description

@sritchie

Add this to some example:

mathbox.bind({
  focus: (time, delta) => {
    console.log(mathbox.get("focus"));
    5 * Math.sin(time * 0.5);
  },
});

And note that "1", the default, is printed many times instead of

  • the function value
  • the current value of "focus" for mathbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions