Flarum (2.x)
    Preparing search index...
    • Extract the text nodes from a virtual element.

      Absent children (null, undefined and booleans) render nothing in Mithril, so they contribute no text. This lets conditional content such as ['Tags', showExtra && extra] be extracted safely.

      Parameters

      • vdom: Children

      Returns string