Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/dom-view-transitions

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/dom-view-transitions

TypeScript definitions for dom-view-transitions-browser

  • 1.0.1
  • ts4.3
  • ts4.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Installation

npm install --save @types/dom-view-transitions

Summary

This package contains type definitions for dom-view-transitions-browser (https://drafts.csswg.org/css-view-transitions-1/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dom-view-transitions.

index.d.ts

// Type definitions for non-npm package dom-view-transitions-browser 1.0
// Project: https://drafts.csswg.org/css-view-transitions-1/
// Definitions by: Jake Archibald <https://github.com/jakearchibald>
//                 Thomas Wilkinson <https://github.com/tbondwilkinson>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface Document {
    startViewTransition(updateCallback: () => Promise<void> | void): ViewTransition;
}

interface ViewTransition {
    finished: Promise<void>;
    ready: Promise<void>;
    updateCallbackDone: Promise<void>;
    skipTransition(): void;
}

interface CSSStyleDeclaration {
  viewTransitionName: string;
}

Additional Details

  • Last updated: Sat, 29 Apr 2023 00:02:48 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Jake Archibald, and Thomas Wilkinson.

FAQs

Package last updated on 29 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc