Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

Implementing slots #12

@phorward

Description

@phorward

This is a feature-request for implementing slots.

To implement such components

<popout icon="icon-arrowhead-down">
	<popout-item @click="onEdit">edit</popout-item>
	<popout-item @click="onLeave">leave</popout-item>
	<popout-item @click="onDelete">delete</popout-item>
</popout>

It would be nice to have slots, where the content of the popout will be inserted, like this:

<flare-icon [name]="icon" hidden></flare-icon>
<span [name]="text" hidden></span>

<div class="popout">
        <div [name]="popoutItemList" class="list">
                  <slot><!-- Default Content --></slot>
        </div>
</div>

From Vue.js there is also an extension for named slots. These should be considered as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions