Skip to content

"Error: Can not use event delegating with non-element nodes on first level" #3

@crazy4groovy

Description

@crazy4groovy

Hi, I'm trying to reference a template within a template. Please see: https://jsfiddle.net/Lnne9wxt/

The code works fine if I remove the <submod></submod> in the main template. Can you explain if this is a bug, or otherwise how I can compose templates?

Note: I also tried using directives: https://jsfiddle.net/yktv5pve/ But I get an error: TypeError: Cannot read property 'onclick' of null

Thanks, I do like Monkberry, I think it's fantastic!

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