add showWhole
This commit is contained in:
parent
f469e48970
commit
3eebccd566
1 changed files with 4 additions and 0 deletions
|
|
@ -82,6 +82,10 @@ export class Hap {
|
|||
'(' + (this.whole == undefined ? '~' : this.whole.show()) + ', ' + this.part.show() + ', ' + this.value + ')'
|
||||
);
|
||||
}
|
||||
|
||||
showWhole() {
|
||||
return `${this.whole == undefined ? '~' : this.whole.show()}: ${this.value}`;
|
||||
}
|
||||
|
||||
combineContext(b) {
|
||||
const a = this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue