Pebble App Framework: Phone API
    Preparing search index...

    Function dropRows

    • Takes every matching row off the page, wherever it sits. A section that loses a row and is left with nothing but headings goes too, since Clay would still draw it as a card with its headings standing over nothing.

      Parameters

      • items: ClayConfigItem[]

        The page, or a section's rows. It is changed in place.

      • drop: (item: ClayConfigItem) => boolean

        Whether a row is one to take off.

      Returns boolean

      True when anything at this level or below was taken off.