Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 982 Bytes

DistributedChildrenAsContent.md

File metadata and controls

20 lines (17 loc) · 982 Bytes

API Documentation

DistributedChildrenAsContent

Mixin which defines a component's content as its children, expanding any nodes distributed to the component's slots.

This mixin is intended for use with the DistributedChildren mixin. See that mixin for a discussion of how that works. This DistributedChildrenAsContent mixin provides an easy way of defining the "content" of a component as the component's distributed children. That in turn lets mixins like ContentAsItems manipulate the children as list items.

Kind: global class

distributedChildrenAsContent.content : Array.<HTMLElement>

The content of this component, defined to be the flattened array of children distributed to the component.

Kind: instance property of DistributedChildrenAsContent