Skip to content

Mid-position Mixin ignored #19

@dariomannu

Description

@dariomannu

The following Draggable mixin works:

rml`
  <div class="container" onmouseover="${hov}" ...${Draggable()} >
`;

However, it gets ignored when interpolated attributes (like foo="${bar}") are placed after it:

rml`
  <div class="container" ...${Draggable()} foo="${bar}">
`;

Check regexes and the logic in the parser

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions