[][src]Trait stdweb::web::ISlotable

pub trait ISlotable: ReferenceType {
    fn assigned_slot(&self) -> Option<SlotElement> { ... }
}

The Slotable mixin defines features that allow nodes to become the contents of a <slot> element — the following features are included in both Element and Text.

(JavaScript docs)

Provided methods

fn assigned_slot(&self) -> Option<SlotElement>

returns a SlotElement representing the <slot> element the node is inserted in.

(JavaScript docs)

Loading content...

Implementors

impl ISlotable for TextNode[src]

impl<T: IElement> ISlotable for T[src]

Loading content...