mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 19:33:39 +08:00
1506017767
The previous `createPreviewComponent` implementation was problematic for template colocation. We can achieve the same result using normal component class inheritance.
8 lines
169 B
Handlebars
8 lines
169 B
Handlebars
<div class="wizard-container__preview">
|
|
<canvas
|
|
width={{this.elementWidth}}
|
|
height={{this.elementHeight}}
|
|
style={{this.canvasStyle}}
|
|
>
|
|
</canvas>
|
|
</div> |