mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-10 20:51:34 +08:00
18 lines
487 B
JavaScript
18 lines
487 B
JavaScript
![]() |
import BasicWidget from "./basic_widget.js";
|
||
|
|
||
|
const TPL = `
|
||
|
<button type="button" class="close-detail-button action-button d-sm-none d-md-none d-lg-none d-xl-none" aria-label="Close">
|
||
|
<span aria-hidden="true">×</span>
|
||
|
</button>`;
|
||
|
|
||
|
class CloseDetailButtonWidget extends BasicWidget {
|
||
|
doRender() {
|
||
|
this.$widget = $(TPL);
|
||
|
|
||
|
//this.$widget.find('.close-detail-button').on('click', );
|
||
|
|
||
|
return this.$widget;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default CloseDetailButtonWidget;
|