Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stagas/plugs-and-cables

Plugs and cables.
https://github.com/stagas/plugs-and-cables

Last synced: 14 days ago
JSON representation

Plugs and cables.

Awesome Lists containing this project

README

        


plugs-and-cables

Plugs and cables.



npm i plugs-and-cables

pnpm add plugs-and-cables

yarn add plugs-and-cables

## API

# PlugKind src/plugs-and-cables.ts#L4

# Cable src/plugs-and-cables.ts#L62 # Plug src/plugs-and-cables.ts#L9 # ondisconnect src/plugs-and-cables.ts#L19

# plugKind src/plugs-and-cables.ts#L13 # Input  =  ... src/plugs-and-cables.ts#L11 # Output  =  ... src/plugs-and-cables.ts#L10 # connect(this, other, cable) src/plugs-and-cables.ts#L41

    # this

    # other # cable  =  ...


    connect(this, other, cable)  =>


# disconnect(this, cable) src/plugs-and-cables.ts#L49

## Credits

- [event-toolkit](https://npmjs.org/package/event-toolkit) by [stagas](https://github.com/stagas) – Toolkit for DOM events.
- [everyday-utils](https://npmjs.org/package/everyday-utils) by [stagas](https://github.com/stagas) – Everyday utilities

## Contributing

[Fork](https://github.com/stagas/plugs-and-cables/fork) or [edit](https://github.dev/stagas/plugs-and-cables) and submit a PR.

All contributions are welcome!

## License

MIT © 2022 [stagas](https://github.com/stagas)