(sheet: sheet, color: string)
| 84 | } |
| 85 | |
| 86 | private createChangeFunction(sheet: sheet, color: string): (event: Event) => void { |
| 87 | return (event: Event) => { |
| 88 | event.stopPropagation() |
| 89 | event.preventDefault() |
| 90 | |
| 91 | sheet.update({ |
| 92 | area: {backgroundColor: color} |
| 93 | }) |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | interface sheet { |