sparc - v1.0.1
    Preparing search index...
    interface ImageProps {
        alt?: string;
        class?: string;
        containerSelector?: string;
        id?: string;
        onLoad?: () => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alt?: string
    class?: string

    Regular HTML class names

    containerSelector?: string

    Valid CSS selector targeting the current element's parent.

    const myElement = new Element({...,containerSelector:"#login-form",...})
    myElement.render() //my element will be appended to #login-form
    id?: string

    if a value is provided, sparc will not use automatic UUID generation!

    onLoad?: () => void