Skip to content

Nested html elements #86

@imagoiq

Description

@imagoiq

Hi,

I wonder if it's possible with web-types to require a certain hierarchy between HTML elements.

A bar example:

<my-ul>
   <my-li></my-li>
</my-ul>

As with standard li, my-li make no sense out of the my-ulcontext.

Also, I have this other issue with so called HTML Web components where my component is only used to enhance and wrap a standard HTML tag. Is there a way to support it?

I've tried to nest the html properties under another elements but without success. I looked as some example, particularly Bootstrap-vue and I couldn't find a relationship between for example BBreadcrumb and BBreadcrumbItem.

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