VideoPictureInPictureEvent
A Video's pictureInPictureChange event, with active saying whether picture in picture is on.
Utilização
Display a video with native controls.
Este tipo é usado por Video
// Display a video with native controls.
import { Video } from 'kuito';
<Video src={{ uri: 'https://example.com/waves.mp4' }} height={320} muted loop objectFit="cover" />;Declaração do tipo
export type VideoPictureInPictureEvent = NativeViewEvent<
'pictureInPictureChange',
{ active: boolean }
>;Membros 4
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
type | "pictureInPictureChange" | Sim | — |
target | unknown | Sim | — |
isTrusted | boolean | Sim | — |
active | boolean | Sim | — |
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.