wdpr
    Preparing search index...

    Module elements/module/rate

    Renderer for [[module Rate]].

    The Rate module displays a page rating widget with upvote, downvote, and cancel buttons. The initial score is rendered as 0; the runtime rate module handles click events and updates the display via the onRate callback.

    The widget HTML structure matches Wikidot's original output, using Bootstrap-style btn btn-default classes alongside Wikidot-specific class names (rateup, ratedown, cancel, rate-points).

    Functions

    renderRate