Skip to content

Instantly share code, notes, and snippets.

@WesleySmits
Created October 16, 2021 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WesleySmits/1b22edad1b878d54019e86b459ff3c74 to your computer and use it in GitHub Desktop.
Save WesleySmits/1b22edad1b878d54019e86b459ff3c74 to your computer and use it in GitHub Desktop.
Simple web calculator: Call update display from query setter method
public set query(value: string) {
this.#query = value;
+ this.#updateDisplay();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment