chore(ui): clear eslint angular style guide bucket
Rename reader dialog outputs away from native DOM event names and convert the menu item component to an element selector so the remaining Angular style-guide lint rules are satisfied without changing behavior. Validation: just ui lint
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
<app-reader-quick-settings
|
||||
[stateService]="stateService"
|
||||
[bookId]="bookId"
|
||||
(close)="showQuickSettings = false"
|
||||
(closed)="showQuickSettings = false"
|
||||
(openFullSettings)="showControls = true">
|
||||
</app-reader-quick-settings>
|
||||
}
|
||||
@@ -55,14 +55,14 @@
|
||||
[stateService]="stateService"
|
||||
[viewManager]="viewManager"
|
||||
[bookId]="bookId"
|
||||
(close)="showControls = false">
|
||||
(closed)="showControls = false">
|
||||
</app-settings-dialog>
|
||||
}
|
||||
|
||||
@if (showMetadata) {
|
||||
<app-reader-book-metadata-dialog
|
||||
[book]="book"
|
||||
(close)="showMetadata = false"
|
||||
(closed)="showMetadata = false"
|
||||
></app-reader-book-metadata-dialog>
|
||||
}
|
||||
|
||||
@@ -78,12 +78,12 @@
|
||||
@if (noteDialogState().visible) {
|
||||
<app-reader-note-dialog
|
||||
[data]="noteDialogState().data"
|
||||
(save)="onNoteSave($event)"
|
||||
(cancel)="onNoteCancel()"
|
||||
(saved)="onNoteSave($event)"
|
||||
(cancelled)="onNoteCancel()"
|
||||
></app-reader-note-dialog>
|
||||
}
|
||||
|
||||
@if (showShortcutsHelp) {
|
||||
<app-ebook-shortcuts-help (close)="showShortcutsHelp = false"></app-ebook-shortcuts-help>
|
||||
<app-ebook-shortcuts-help (closed)="showShortcutsHelp = false"></app-ebook-shortcuts-help>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user