Trevixal API
    Preparing search index...

    Function createReadingHeatmap

    • The heat map over an editor, off until shown. While shown it repaints as the text changes, each sentence carrying its level as a class and its grade as data-reading-grade.

      Parameters

      • editor: Editor
      • layer: string = 'reading-heatmap'

      Returns ReadingHeatmap