Skip to content

Javascript modules should accept jQuery objects for options #13489

@phaseOne

Description

@phaseOne

e.g.

$('body').scrollspy({
  target: $('#subnav').parent(),
  offset: 72
})

The current modules use strings to deal with finding DOM elements; using jQuery objects would have more opportunities for expansion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions