Max Lee
Max Lee
Sorry for taking so long to get back on this. I definitely think it makes sense to be able to dynamically unset the properties. I imagine you could use an...
Sorry I wasn't clear. Say you want to pass this object as `attrs` in the `setElementAttributes` function: ```js const attrs = { hidden: "" } ``` If you did this,...
@mhkeller Sorry, I meant to respond/get to this sooner but got lost in other things. I've had a chance to take an initial stab at this. Similar to you, my...
Makes sense. So something like this?: ```svelte export let attrs = null; $: if (element && attrs) { Object.entries(attrs) // hasAttribute check may be necessary because getAttribute can return an...
That sounds good. I've added [a pull request with these changes](https://github.com/mhkeller/layercake/pull/74). Let me know if you need any changes.
Would it make sense to add a license to the bottom of the README? Since the README as a whole clearly refers to using this specific template, I think you'd...