mirror of
https://github.com/zadam/trilium.git
synced 2024-09-30 12:35:59 +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();
|
||
|
}
|
||
|
}
|