Vaadin has a high quality component set for building mobile and desktop web applications in modern browsers
web-padawan on test-refactor
web-padawan on master
test: refactor and cleanup test… (compare)
yuriy-fix on fix-sorting-filtering-attach
Add tests for new sorting and f… fix: update filtering and sorti… (compare)
@lauritowal What are you trying to accomplish? It's the server that defines the status code. You can't change that fact after receiving it.
After checking out that demo, the commented code about "Interpret any server response as success" looks like a mistake to me.
XHR is an instance of XMLHttpRequest where status is readonly. That demo seems to be 2 years old though. I guess it's possible that xhr status was writable in browsers 2 years ago but I'm not sure. Couldn't easily find any info on if this has somehow changed.
form()
directive seems too big and complex, but that's JM2C.
vaadin-accordion
2.0.0 -alpha. The component is rendering, but opened-changed
does not seem to fire when I click a panel. A click
registers, but not the event. opened-changed
does fire if I select the panel header via keyboard and hit space.
hey yall vaadiners!
https://vaadin.com/components/vaadin-tabs/html-examples/tabs-integration-demos#content-switcher-with-iron-pages not working out of the box, getting vaadin-list-mixin.js:207 Uncaught TypeError: Cannot read property 'disabled' of undefined
.
ideas?
@moderndeveloperllc and @Haprog , thanks for replying to my query. Not sure how I missed your notification.
@Haprog your recommendation was spot on. I ended up using custom click trigger, checked for a "router-ignore" attribute on <a> element. It was a very small change in the click.js file that you mentioned.
// ignore the click if the <a> element has the 'download' or 'router-ignore' attribute
if (anchor.hasAttribute('download') || anchor.hasAttribute('router-ignore')) {
return;
}
I feel this small feature addition should be incorporated by vaadin team in original code. May be name the attribute "vaadin-ignore" :)
FlexLayout
is part of vaadin-ordered-layout-flow
package. Latest stable release of that is 2.0.0 which seems to be included in Vaadin 14.1.2. But there does seem to be one newer commit in master
branch of vaadin-ordered-layout-flow
which isn't in any release yet. Are you referring to this one https://github.com/vaadin/vaadin-ordered-layout-flow/commit/4ccdeaec1e29764750ed9f0fa4bf23fa406436e4#diff-5e8cfb4002e77c7bd94f3bc270fe3fcb ?
I might be biased but I'd recommend getting started by trying out LitElement and following their guide/tutorial from https://lit-element.polymer-project.org/
It's also good to know what parts are related to web component standards and what is library specific. Some resources you might want to check out also: