Gary Thomas
Gary Thomas
Thanks @developit - I'm a little weak on web components, but was looking at Polymer docs (https://www.polymer-project.org/1.0/docs/devguide/instance-methods) and it allows this syntax: ``` Polymer({ ... speak: function() { console.log(this._says); }...
Thanks for the info, I'll wait until sveltejs/svelte#2684 is merged. Feel free to close this if you prefer, or open if you'd like to track status. If by chance it's...
If it helps, I worked around this by adding an optional `children` prop ala React: https://github.com/bestguy/sveltestrap/blob/master/src/Alert.svelte#L37 that will conditionally render the slot unless `children` is passed. Allows testing like: https://github.com/bestguy/sveltestrap/blob/master/src/__test__/Alert.spec.js#L8...
Hi @cstayyab , yes I forgot to update this issue, we added the option to specify `body={false}` on the Offcanvas in [email protected]. You can see usage in this example under...
Hi @TimurAditazz , Thanks, that should be supported if you nest the menus, however this issue likely needs to be resolved first: #297 I'll take a look at this again.
Hi @TimurAditazz , so this almost works as-is: https://svelte.dev/repl/28dc6f65caf543d8934790ac1280b626?version=3.42.1 However, the outer menu does not close without clicking again outside. Kind of surprised it works at all :-). But I...
Hi @Brawl345 , I've not been keeping up with the status of Sveltekit, as it seems to be changing quite a bit. If you are using Sveltestrap in an SSR...
I'm not really sure what the recommended practice is with Sveltekit. I'm assuming it's reading the index.js and seeing all the imports, but this works fine with sapper and rollup....
Thanks @cowglow Hmm that's an interesting one - a tags don't have a disabled attribute, so we could either not forward the href when disabled, or add some JS to...
Hi @obendi, haven't found a solution yet, but thanks if you are up for helping. The two options are: 1. Use built-in svelte transitions (which is what we've been using...