Commit Graph

57 Commits (9c3815f5681f79f23156a9b94132ee2e0d15ad30)

Author SHA1 Message Date
Jonathan Greenemeier 9c3815f568 Small update to allow class directives to work in IE11 where second argument of classList.toggle is not respected
7 years ago
Rich Harris 769e03296f merge master -> gh-1088
7 years ago
Rich Harris b5945e13ea dont render undefined/null attributes in SSR
7 years ago
Rich Harris 8642ef17a4 merge master -> set-undefined-attr
7 years ago
Rich Harris 4d4c2c3655 coerce toggle argument
7 years ago
Rich Harris f12141e18a
Update dom.js
7 years ago
Rich Harris c4526c3302
Merge branch 'master' into gh-890
7 years ago
Jacob Wright 5ef44ae6c9 Adds the class directive
7 years ago
Christian Kaisermann 54dc1e5849 Set style attribute correctly when spread attr present
7 years ago
Christian Kaisermann 89c1fa675b Also check for null-valued attributes
7 years ago
Christian Kaisermann 790f2b5313 Remove an undefined attribute instead of setting it to "undefined" (string)
7 years ago
ekhaled 87445230b1 fix resize listener bug for ios re: #1600
7 years ago
Admin a6c1a12e90 Adds event modifiers using | character
7 years ago
Rich Harris cce6db40f9
Merge pull request #1637 from sveltejs/list-whitespace
7 years ago
Rich Harris b94d7adfec replace appendNode(node, parent) with append(parent, node) - easier to follow
7 years ago
Rich Harris cce3a30ef2 use props when passing data to custom elements (#875)
7 years ago
Rich Harris 9964a77565 stringify values before setting text data - fixes #1598
7 years ago
ekhaled 259f77d015 closes #1600
7 years ago
Rich Harris 82c9217e53 do unmount work in destroy method
8 years ago
Rich Harris 7e8329379c allow destruction of components with bind:offsetWidth etc
8 years ago
Rich Harris 541ec6c397 bind to dimensions
8 years ago
Rich Harris 2866b11c7d WIP towards #984
8 years ago
Rich-Harris 7c47cc19f7 handle boolean attributes
8 years ago
Rich-Harris 40cf29b2b7 basic attribute spreading on elements
8 years ago
mrkishi b5102f4f1b Add spread -- rough idea
8 years ago
Rich Harris 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
8 years ago
Rich Harris 2b2a1b40ce use short method names
8 years ago
Rich Harris c8f094cf80 remove unused destroyEach and destroy arguments
8 years ago
P 072f541855 Change let -> var, solves #838
8 years ago
Rich Harris d75ab8544e remove requestAnimationFrame stuff, convert time ranges to {start, end} objects
8 years ago
Rich Harris 186b770ef4 use helper for setting styles
8 years ago
Rich Harris d1a6f9c11e only use comments around <slot> as necessary
8 years ago
Rich Harris 6499d4714d only use noscript if necessary
8 years ago
Rich Harris 143d0ea753 dont actually render <slot> elements
8 years ago
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
8 years ago
Rich Harris f7b829820f add legacy option, use it for setInputType (#773)
8 years ago
Rich Harris d10ddc0c51 fix most non-hydration tests
8 years ago
Rich Harris dc29b2d466 fix component hydration
8 years ago
Rich Harris 0bbd917442 more hydration
8 years ago
Rich Harris 14fe89eae8 hydration working with elements, text nodes, tags and if blocks
8 years ago
Rich Harris dceb2b533b first, very incorrect stab at hydration
8 years ago
Rich Harris b7ea045a04 rename addEventListener and removeEventListener (#621)
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich Harris 3b70920991 merge master -> gh-592
8 years ago
Rich Harris 6ae01b6682 coerce empty string in number/range inputs to undefined - closes #584
8 years ago
Rich Harris 8a57ae8b54 tidy up
8 years ago
Rich-Harris b0a31dda15 reintro unkeyed each block iterations as necessary
9 years ago
Rich-Harris d8cec7f414 style consistency
9 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
9 years ago
Rich Harris 3006a245af more consistent naming
9 years ago