# usePointerEvents

Source: /tuil/docs/reference/packages/ink/api/use-pointer-events
Locale: en

function exported by @mwillbanks/tuil-ink.



{/* Generated by tooling/docs/generate-reference.ts. */}

## function [#function]

Public function exported by `@mwillbanks/tuil-ink`.

```ts
export function usePointerEvents(
  bindings: readonly PointerEventBinding[],
): void;
```

## Members [#members]

This declaration has no public members.

## Parameters [#parameters]

| Member     | Type                             | Required | Description                                                        | Related types                                                                   |
| ---------- | -------------------------------- | -------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------- |
| `bindings` | `readonly PointerEventBinding[]` | Yes      | Supplies the `bindings` value as `readonly PointerEventBinding[]`. | [`PointerEventBinding`](/tuil/docs/reference/packages/ink/api/pointer-event-binding) |

## Returns [#returns]

`void` — Returns a value that satisfies `void`.

Related types: —

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

* [`PointerEventBinding`](/tuil/docs/reference/packages/ink/api/pointer-event-binding)

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/ink/src/pointer.ts)

## Package [#package]

[@mwillbanks/tuil-ink](/tuil/docs/reference/packages/ink)
