[Feature Request] $.fn.contents() supports <template />
See original GitHub issueTODO
$.fn.contents()
can return the reference of HTMLTemplateElement.prototype.content
, not childNodes
.
Such as how <iframe />
is supported — https://github.com/jquery/jquery/blob/1.12-stable/src/traversing.js#L144
Reference
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template#Attributes
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Feature Request Template: How to Manage Suggestions at ...
Streamline and organize user feedback with this free feature request template. Available in Google Docs and Sheets (no email required).
Read more >Feature Request Template: How to Collect User Feedback ...
A feature request template helps you collect and organize feature requests from your customers. Feature request form allows you to listen to ...
Read more >Fn::Join - AWS CloudFormation
The following example uses Fn::Join to construct a string value. It uses the Ref function with the AWS::Partition parameter and the AWS::AccountId pseudo ......
Read more >Karate | Test Automation Made Simple.
readAsString() API. Here is an example of using a CSV file as the request-body: Given path 'upload' And header Content-Type = 'text/csv' And...
Read more >Create functions - OpenFaaS
To create a new function named go-fn in Go type in the following: ... modules that require compilation then you should try the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@timmywil one example - with HTML:
if
templateNode
is a what its name suggests then running:produces a
NodeList
with 7 nodes:@dmethvin’s comment is very sensible and hard to argue with, but I kinda want to argue with it anyway. This might be worth it. I’d like to see examples of return values.