-
-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supports more attributes #259
Comments
I would like to nominate the video tag poster attribute for this list of attributes! I stumbled upon it today when trying to use videojs... loader: "html-loader",
options: {
attributes: {
list: [
{
tag: 'video',
attribute: 'poster',
type: 'src'
},
],
},
} |
We already support the |
Ah sorry for the mistake. :/ |
Is there support for data-srcset on source? Just submitted an issue for this. #316 |
@GuillermoCasanova It is non standard, other developers can have any data in this, you need to use options for this, the only way I can help here allow to define list of attributes in easy way:
|
Having these attributes as default would be awesome and especially useful since the interpolate option has been removed. In the meantime, is there some way to add these attributes manually? |
I think it is easy to implement, feel free to send a PR |
Sorry, I'm not that good at javascript, so it wouldn't be that easy for me to include these attributes. I pulled it down and made an attempt, but didn't have much luck. In the meantime, is there some way to manually add these attributes using the list tag filter? I haven't had much luck with that either. |
WIP on this, release will be |
@alexander-akait Just curious if you have any timeline on getting this implemented? 😃 |
@elliotleelewis What is attribute you need? |
@alexander-akait The URL property in <div id="background-image" style="background-image: url('./assets/media/photo.jpg')"></div> |
Yep, try to find time on this at the end of month... |
Perfect, thank you! |
Feature Proposal
Supports more attributes:
style
- parseurl()
in CSSscript
withsrc
and withoutsrc
like entryFeature Use Case
0CJS
The text was updated successfully, but these errors were encountered: