Skip to content

content selector - need select only top child elements #737

Closed
@shuslav

Description

@shuslav

If I place my component inside another same component, e.g.:

    <my-comp>
        <div class="body">
            <my-comp>
                <div class="body">

                </div>
            </my-comp>
        </div>
    </my-comp>

The content selector of the outer component selects two DIVs (its own and nested component's):

    <content select="div.body"></content>

Is it possible to select 'div.body' of outer component only?

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