New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cable_ready/alpine_morph

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cable_ready/alpine_morph

CableReady Alpine Morph Operation

  • 5.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
4
Weekly downloads
 
Created
Source

Package @cable_ready/alpine_morph

The Alpine.morph() function as a CableReady custom operation meant to be used with cable_ready.

Installation

Install @cable_ready/alpine_morph in your application:

yarn add @cable_ready/alpine_morph

# or

npm install --save @cable_ready/alpine_morph

Usage

Add the Alpine morph operation to CableReady:

// app/javascript/packs/application.js

import CableReady from 'cable_ready'
import AlpineMorph from '@cable_ready/alpine_morph'

CableReady.addOperations(AlpineMorph)

And configure CableReady on the Ruby-side to include the new operation:

# config/initializers/cable_ready.rb

CableReady.configure do |config|
  config.add_operation_name :alpine_morph
end

Known Issues

  • Just works for selector morphs (Alpine doesn't like to morph the whole body element, which is used in page morphs)

FAQs

Package last updated on 12 Jul 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