Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Allow scripts tag to be identified by id attribute #88

@jguittard

Description

@jguittard

Using scripts view helper (headScript or inlineScript), id attribute is ignored when generating scripts tags.

protected $optionalAttributes = [
    'charset',
    'crossorigin',
    'defer',
    'async',
    'language',
    'src',
];

Can be useful to target some scripts blocks with an html id attribute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions