@types/alpinejs__anchor
TypeScript icon, indicating that this package has built-in type declarations

3.13.1 • Public • Published

Installation

npm install --save @types/alpinejs__anchor

Summary

This package contains type definitions for @alpinejs/anchor (https://alpinejs.dev/plugins/anchor).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/alpinejs__anchor.

import type { PluginCallback } from "alpinejs";

declare const anchorPlugin: PluginCallback;

export default anchorPlugin;

declare module "alpinejs" {
    interface Magics<T> {
        $anchor: { x: number; y: number };
    }
}

Additional Details

  • Last updated: Fri, 08 Mar 2024 17:07:21 GMT
  • Dependencies: @types/alpinejs

Credits

These definitions were written by Eric Kwoka.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/alpinejs__anchor

Weekly Downloads

64

Version

3.13.1

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • types