Hierarchy

  • default<SwipeItemEvents, any, WithMobileOSProps<Partial<ISwipeItem>, Partial<ISwipeItemIOSParams>, Partial<ISwipeItemAndroidParams>>>
    • SwipeItem

Implements

  • ISwipeItem

Properties

_nativeObject: any

Accessors

  • get nativeObject(): any
  • Returns any

  • set nativeObject(value: any): void
  • Parameters

    • value: any

    Returns void

  • get ios(): TProps["ios"]
  • Returns TProps["ios"]

  • get android(): TProps["android"]
  • Returns TProps["android"]

  • get text(): string
  • Returns string

  • set text(value: string): void
  • Parameters

    • value: string

    Returns void

  • get font(): null | IFont
  • Returns null | IFont

  • set font(value: null | IFont): void
  • Parameters

    Returns void

  • get backgroundColor(): IColor
  • Returns IColor

  • set backgroundColor(value: IColor): void
  • Parameters

    Returns void

  • get textColor(): IColor
  • Returns IColor

  • set textColor(value: IColor): void
  • Parameters

    Returns void

  • get onPress(): ((params: { index: number }) => void)
  • Returns ((params: { index: number }) => void)

      • (params: { index: number }): void
      • This event triggers after ListViewItem is swiped or clicked. To be aware, Android doesn't support click for now.

        Method

        Android

        Ios

        Since

        4.1.4

        Parameters

        • params: { index: number }
          • index: number

        Returns void

  • set onPress(value: ((params: { index: number }) => void)): void
  • Parameters

    • value: ((params: { index: number }) => void)
        • (params: { index: number }): void
        • This event triggers after ListViewItem is swiped or clicked. To be aware, Android doesn't support click for now.

          Method

          Android

          Ios

          Since

          4.1.4

          Parameters

          • params: { index: number }
            • index: number

          Returns void

    Returns void

Methods

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    Returns void

  • Parameters

    • event: "press"
    • Rest ...args: any[]

    Returns void

  • Parameters

    • props: Partial<{ [key: string]: any }> & Partial<Partial<ISwipeItemAndroidParams>> & Partial<ISwipeItemAndroidParams>

    Returns void

  • Parameters

    • props: Partial<{ [key: string]: any }> & Partial<Partial<ISwipeItemIOSParams>> & Partial<ISwipeItemIOSParams>

    Returns void

  • Returns null

  • Parameters

    • Optional params: Partial<Record<string, any>>

    Returns void

Constructors

  • Parameters

    • params: Partial<ISwipeItem> = {}

    Returns SwipeItem

Generated using TypeDoc