Skip to content

Add "media" attribute on require for css #278

Open
@vbornand

Description

@vbornand

I'm submitting a feature request.

Some libraries provides css files for printing, and ask to add it like this:
<link href="print.css" rel="stylesheet" type="text/css" media="print" />

It should be useful to have an attribute "media" for the require tag to handle this case.

Sample of expected behavior:
<require from="print.css" media="print">

if this feature is accepted by the community, I'm ready to do the analyze of the changes and do them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions