alteryx / alteryx/alteryx-ui

Where can I find documentation on `JsEvent`?

Abierto
#25 10 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
6
Forks
0
Merge medio
21 h 41 min
PR fusionados (30 d)
1

Descripción

Where can I find documentation on the `JsEvent` method?

```jsx
declare const JsEvent: (Event: string, item: object, context?: IContext) => Promise;
```

The [UI-SDK page](https://alteryx.github.io/react-comms/#/Utils/JsEvent) only shows how to list all the supported events, but I can't find anything that explains what these events do, their possible options, and their outputs. More specifically, is it possible to specify "FileBrowse" to filter for something like "\*.csv" files instead of the default "\*.yxmd;\*.wmdl;\*.yxwz;\*.yxmc;\*.yxzp;\*.yxi;\*.yxwg"?

```jsx
const filePath = await JsEvent('FileBrowse', {})
// What goes here? ↑
```

Or is there an analogous "DirectoryBrowse" event to select directories instead of files, like the built-in Directory tool?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.