Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

data-prefetch=false #3263

Closed
Closed
@pehrlich

Description

@pehrlich

It would be nice if this disabled prefetch, and the standard carried over for other similar attributes

Why? Its a small issue, but in my particular case is rails helpers create code with opinionated defaults. In order to allow those defaults to be overridden, a monkey patch like this is ultimately required:

options.delete(:'data-prefetch') if options[:'data-prefetch'] == false

Will link to the wiki upon request

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