Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadioItem

Hierarchy

  • Component<object, null>
    • RadioItem

Implements

  • ComponentLifecycle<object, null>

Index

Constructors

Properties

Methods

Constructors

constructor

  • new RadioItem(props?: object, context?: any): RadioItem
  • Parameters

    • Optional props: object
      • change: function
          • (s: string): any
          • Parameters

            • s: string

            Returns any

      • checked: boolean
      • Optional connected?: boolean
      • groupId: string
      • Optional index?: number
      • inline: boolean
      • text: string
    • Optional context: any

    Returns RadioItem

Properties

context

context: any

guid

guid: string = makeGuid()

props

props: Readonly<{ children?: ReactNode; }> & Readonly<P>

refs

refs: object

Type declaration

  • [key: string]: ReactInstance

state

state: Readonly

Methods

forceUpdate

  • forceUpdate(callBack?: function): void
  • Parameters

    • Optional callBack: function
        • (): any
        • Returns any

    Returns void

render

  • render(): Element

setState

  • setState<K>(f: function, callback?: function): void
  • setState<K>(state: Pick, callback?: function): void
  • Type parameters

    • K: keyof S

    Parameters

    • f: function
        • (prevState: null, props: object): Pick
        • Parameters

          • prevState: null
          • props: object
            • change: function
                • (s: string): any
                • Parameters

                  • s: string

                  Returns any

            • checked: boolean
            • Optional connected?: boolean
            • groupId: string
            • Optional index?: number
            • inline: boolean
            • text: string

          Returns Pick

    • Optional callback: function
        • (): any
        • Returns any

    Returns void

  • Type parameters

    • K: keyof S

    Parameters

    • state: Pick
    • Optional callback: function
        • (): any
        • Returns any

    Returns void

Generated using TypeDoc