sparc - v1.0.1
    Preparing search index...
    interface FormControlProps {
        class?: string;
        containerSelector?: string;
        id?: string;
        isDisabled?: boolean;
        isLoading?: boolean;
        title?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    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!

    isDisabled?: boolean

    Use this boolean flag to toggle a css class disabling interactions with the component.

    isLoading?: boolean

    Use this boolean flag to toggle a css class while the async component loads.

    title?: string

    Currently used as a tooltip. Displays the current value by default