Documentation - v19.12.0-dev
    Preparing search index...

    Singleton that tracks the browser's JS heap memory usage, as a percentage of the heap size limit, when the (non-standard) performance.memory API is available.

    Index

    Properties

    isAvailable: boolean = true

    Whether the feature is available in browser

    percentageOfUsedMemory: number = 0

    Percentage of the memory used, it's updated only if the feature is available in browser

    Accessors

    Methods

    • Update the percentageOfUsedMemory and check if the feature is availble

      Returns void