How to use the @instructure/ui-popover/lib/Popover/locator.findContent function in @instructure/ui-popover

To help you get started, we’ve selected a few @instructure/ui-popover examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github instructure / instructure-ui / packages / ui-select / src / Select / locator.js View on Github external
findOptionsList: async (element, ...args) => {
    const content = await PopoverLocator.findContent(element, ...args)
    return content ? OptionsLocator.find(content.getDOMNode()) : null
  }
})
github instructure / instructure-ui / packages / ui-date-input / src / DateInput / locator.js View on Github external
findCalendar: async (element, ...args) => {
    const content = await PopoverLocator.findContent(element, ...args)
    return content ? CalendarLocator.find(content.getDOMNode()) : null
  }
})
github instructure / instructure-ui / packages / ui-overlays / src / Tooltip / locator.js View on Github external
findContent: (...args) => {
    const { element, options } = parseQueryArguments(...args)
    return PopoverLocator.findContent(element, '[role="tooltip"]', options)
  }
}

@instructure/ui-popover

A component for hiding or showing content based on user interaction.

MIT
Latest version published 2 days ago

Package Health Score

84 / 100
Full package analysis

Similar packages