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

    Function rowHidesFor

    • Whether a key row hides for a value of its select, read off the plain visibleWhen conditions it puts on the select, such as notIn: ['yahoo']. Each one is read the way the page's show and hide in dependent-visibility.ts reads a condition. The value is compared as text and with its case, and a condition holding both in and notIn goes by its notIn. An anyOf entry is left out, even one naming the select, and so are conditions on other controls, since they say nothing about the provider. A key row hides on its select with plain conditions only.

      Parameters

      • page: ClayConfigItem[]

        The page the row is on.

      • select: string

        The select's message key.

      • key: string

        The key row's message key.

      Returns (value: string) => boolean

      A test of one value of the select, as the select holds it.