Skip to content

pat-inject: Unsupported different urls for multi-inject #406

Open
@cillianderoiste

Description

@cillianderoiste

It could be useful to support multiple urls for injection.

<a href="full-page.html" class="pat-inject" 
     data-pat-inject="source: #sidebar; target: #sidebar; url: sidebar.html &&
                               source: #breadcrumbs; target: #breadcrumbs; url: breadcrumbs.html">click me</a>

In this example the default href would point to a full page which includes the sidebar and breadcrumbs (e.g. as Plone tiles) and everything else. The injections would call two separate URLs which would only render the parts of the page which we care about. This would help with performance without compromising accessibility IMO.

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