Function useOnClickByClassName

  • useOnClickByStyleForWeb hook is designed to handle click actions on specific elements within a clickable area on the web. It ensures the action is only triggered when the user interacts with an element containing a designated className.

    Parameters

    • options: UseOnClickByStyleOptionsForWeb

      The options for the hook.

    Returns ((event: any) => void)

    A handler function to be used in a clickable component.

      • (event): void
      • Parameters

        • event: any

        Returns void