outsystems-ui - v3.0.0
    Preparing search index...
    • Register a function that provides a list of classes to apply to the document body. Expected classes to be returned are portrait or landscape — for orientation — and phone or tablet for device type. The method provided may emit other classes.

      Parameters

      • phoneWidth: number

        Width below which the device is a phone, in pixels

      • tabletWidth: number

        Width below which the device is a tablet, in pixels

      Returns void