mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-14 13:13:58 +08:00
18 lines
708 B
JavaScript
18 lines
708 B
JavaScript
![]() |
class NoteDetailImage {
|
||
|
/**
|
||
|
* @param {NoteContext} ctx
|
||
|
*/
|
||
|
constructor(ctx) {
|
||
|
this.ctx = ctx;
|
||
|
this.$component = ctx.$noteTabContent.find(".protected-session-password-component");
|
||
|
const $passwordForms = ctx.$noteTabContent.find(".protected-session-password-form");
|
||
|
const $passwordInputs = ctx.$noteTabContent.find(".protected-session-password");
|
||
|
const $passwordInModal = ctx.$noteTabContent.find(".protected-session-password-in-modal");
|
||
|
const $protectButton = ctx.$noteTabContent.find(".protect-button");
|
||
|
const $unprotectButton = ctx.$noteTabContent.find(".unprotect-button");
|
||
|
}
|
||
|
|
||
|
show() {
|
||
|
this.$component.show();
|
||
|
}
|
||
|
}
|