Adrià Vilanova Martínez | 18d03c4 | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 1 | import Feature from '../../common/architecture/features/Feature'; |
| 2 | import { ConcreteScript } from '../../common/architecture/scripts/Script'; |
Adrià Vilanova Martínez | 67b0b25 | 2024-05-18 00:35:51 +0200 | [diff] [blame^] | 3 | import { OptionCodename } from '../../common/optionsPrototype'; |
Adrià Vilanova Martínez | 18d03c4 | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 4 | import CCInfiniteScrollScript from './scripts/ccInfiniteScroll.script'; |
| 5 | |
| 6 | export default class InfiniteScrollFeature extends Feature { |
| 7 | public readonly scripts: ConcreteScript[] = [CCInfiniteScrollScript]; |
| 8 | |
| 9 | readonly codename = 'infiniteScroll'; |
Adrià Vilanova Martínez | 67b0b25 | 2024-05-18 00:35:51 +0200 | [diff] [blame^] | 10 | readonly relatedOptions: OptionCodename[] = ['list', 'thread', 'threadall']; |
Adrià Vilanova Martínez | 18d03c4 | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 11 | } |