moderator-toolbox-nxg-for-reddit / modules/nukecomments/dom

modules/nukecomments/dom

Functions

createNukeCommentsHandlers()

createNukeCommentsHandlers(__namedParameters): () => void

Defined in: extension/data/modules/nukecomments/dom.tsx:82

Registers the nuke button at the appropriate UI locations based on the current settings. The button appears either under each comment’s action row or next to the author’s username, depending on showNextToUser.

Parameters

__namedParameters

NukeCommentsSettings

Returns

A cleanup function that unregisters both renderers.

() => void