Lines Matching refs:exchange
236 …corresponding button to change the data. You can click two data items in sequence to exchange them.
252 private exchange: number[] = [];
275 handleExchange(idx: number): void { // Click to exchange child components.
276 this.exchange.push(idx);
277 if (this.exchange.length === 2) {
278 let _a = this.exchange[0];
279 let _b = this.exchange[1];
283 this.exchange = [];
325 Text('Click on two items to exchange.')
384 private exchange: number[] = [];
407 handleExchange(idx: number): void { // Click to exchange child components.
408 this.exchange.push(idx);
409 if (this.exchange.length === 2) {
410 let _a = this.exchange[0];
411 let _b = this.exchange[1];
415 this.exchange = [];
457 Text('Click on two items to exchange.')