Newer
Older
alert / js / node_modules / flarum / forum / components / NotificationList.d.ts
@Réz István Réz István on 18 Nov 2021 656 bytes first commit
/**
 * The `NotificationList` component displays a list of the logged-in user's
 * notifications, grouped by discussion.
 */
export default class NotificationList extends Component<import("../../common/Component").ComponentAttrs> {
    $notifications: JQuery<any>;
    $scrollParent: JQuery<any>;
    boundScrollHandler: any;
    onremove(): void;
    scrollHandler(): void;
    /**
     * If the NotificationList component isn't in a panel (e.g. on NotificationPage when mobile),
     * we need to listen to scroll events on the window, and get scroll state from the body.
     */
    inPanel(): boolean;
}
import Component from "../../common/Component";