blob: 4806ed31527fc3432501b6c994cc09a7b6728ec6 [file] [log] [blame]
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +02001import CssSelectorNodeWatcherScriptHandler from '../../../common/architecture/scripts/nodeWatcher/handlers/CssSelectorNodeWatcherScriptHandler';
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +02002import { AutoRefreshNodeWatcherDependencies } from '../scripts/nodeWatcher.script';
3
4/**
5 * Sets up the autorefresh list feature.
6 */
7export default class AutoRefreshThreadListSetUpHandler extends CssSelectorNodeWatcherScriptHandler<AutoRefreshNodeWatcherDependencies> {
8 cssSelector = 'ec-thread-list';
9
Adrià Vilanova Martíneze7f9be82024-05-31 22:37:04 +020010 onMutatedNode() {
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +020011 this.options.autoRefresh.setUp();
12 }
13}