MCPcopy Create free account
hub / github.com/Pecunia-Wallet/PecuniaWallet / backspace

Function backspace

src/app/components/code/code.component.ts:118–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 backspace() {
119 if (this.loading) return;
120 const code = this.code$.value;
121 this.code$.next(code.substring(0, code.length - 1));
122 }
123
124 observeAsterisk(a: Element, i: number) {
125 this.code$.subscribe(code => {

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected