daun / swup-morph-plugin

A swup plugin for morphing DOM nodes in place
MIT License
18 stars 2 forks source link

Find containers from data attribute #18

Closed daun closed 1 year ago

daun commented 1 year ago
hirasso commented 1 year ago

Oops already merged 😁

daun commented 1 year ago

In my mind, dynamic containers have slightly different constraints and expectations. Let me think on it. Never too late for a fix release 🤠

daun commented 1 year ago

What's a situation where you'd appreciate a warning, where it would help to debug?

hirasso commented 1 year ago

When I globally define options.containers. Alternatively, setting options.debug to false would also work for me.

daun commented 1 year ago

There's no debug option in this plugin 🫣

Somehow thinking through this makes my head hurt, I'll open an issue so we can keep track of it.

hirasso commented 1 year ago

I know there's no debug option yet :) ...lets talk it through together sometime soon. No rush.