Bug Tracker

Changes between Initial Version and Version 1 of Ticket #13342, comment 5


Ignore:
Timestamp:
Jan 30, 2013, 4:09:04 PM (6 years ago)
Author:
dmethvin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13342, comment 5

    initial v1  
    11I'd really like to see some examples of how this would be used. The person passing in the DOM fragment knows what it is and could use `.innerHTML` directly, right? And if this would end up being wrapped in some sort of jQuery plugin or other component that might be the right place to put this sort of knowledge. Once you're *inside* the component I can see that using jQuery all normal-like.
     2
     3Edit: Also, this is implying that `$()` now understands shadow roots and supports some subset of jQuery methods on them. Can I use `.append()`, `.appendTo()`, `.replaceWith()` for example? You may not want to do that but I can bet that if we let people wrap it in a `jQuery` then people will expect it to behave as consistently as possible.