Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/forms / build / dist / new-forms / CommonState.d.ts
Size: Mime:
import { Value } from './typings';
export declare class CommonState {
    /**
     * @note: these seem attribute-like
     */
    /** @description for inputs, this is `isFocused` */
    isActive: boolean;
    /** @description for inputs, this is value for checkbox? or something else... */
    isSelected: boolean;
    /** @description for inputs, this is what was @name labelText */
    label: string;
    /** @description for inputs, the VALUE OF THE INPUT */
    value: Value;
    /** @description for disabling inputs from being changed */
    isDisabled: boolean;
    /** @description for hiding / showing inputs so we can adjust them dynamically */
    isVisible: boolean;
    setValue(value: Value): void;
    setLabel(label: string): void;
    setIsDisabled(isDisabled: boolean): void;
    setIsVisible(isVisible: boolean): void;
    setIsSelected(isSelected: boolean): void;
    /** @description for inputs, this is `isFocused` */
    setIsActive(isActive: boolean): void;
}