Hierarchy

Hierarchy

Constructors

Properties

context: any

If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType. Should be used with type annotation or static contextType.

static contextType = MyContext
// For TS pre-3.7:
context!: React.ContextType<typeof MyContext>
// For TS 3.7 and above:
declare context: React.ContextType<typeof MyContext>
props: Readonly<IIgrZoomSliderProps> & Readonly<{
    children?: ReactNode;
}>
refs: {
    [key: string]: ReactInstance;
}

Type declaration

  • [key: string]: ReactInstance
state: Readonly<{}>
contextType?: Context<any>

If set, this.context will be set at runtime to the current value of the given Context.

Usage:

type MyContext = number
const Ctx = React.createContext<MyContext>(0)

class Foo extends React.Component {
static contextType = Ctx
context!: React.ContextType<typeof Ctx>
render () {
return <>My context's value: {this.context}</>;
}
}

Accessors

  • get actualPixelScalingRatio(): number
  • Returns number

  • set actualPixelScalingRatio(v): void
  • Parameters

    • v: number

    Returns void

  • get areThumbCalloutsEnabled(): boolean
  • Returns boolean

  • set areThumbCalloutsEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get barBrush(): string
  • Returns string

  • set barBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get barExtent(): number
  • Returns number

  • set barExtent(v): void
  • Parameters

    • v: number

    Returns void

  • get barOutline(): string
  • Returns string

  • set barOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get barStrokeThickness(): number
  • Returns number

  • set barStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get endInset(): number
  • Returns number

  • set endInset(v): void
  • Parameters

    • v: number

    Returns void

  • get height(): string
  • Returns string

  • set height(value): void
  • Parameters

    • value: string

    Returns void

  • get higherCalloutBrush(): string
  • Returns string

  • set higherCalloutBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get higherCalloutOutline(): string
  • Returns string

  • set higherCalloutOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get higherCalloutStrokeThickness(): number
  • Returns number

  • set higherCalloutStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get higherCalloutTextColor(): string
  • Returns string

  • set higherCalloutTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get higherShadeBrush(): string
  • Returns string

  • set higherShadeBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get higherShadeOutline(): string
  • Returns string

  • set higherShadeOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get higherShadeStrokeThickness(): number
  • Returns number

  • set higherShadeStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get higherThumbBrush(): string
  • Returns string

  • set higherThumbBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get higherThumbHeight(): number
  • Returns number

  • set higherThumbHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get higherThumbOutline(): string
  • Returns string

  • set higherThumbOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get higherThumbRidgesBrush(): string
  • Returns string

  • set higherThumbRidgesBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get higherThumbStrokeThickness(): number
  • Returns number

  • set higherThumbStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get higherThumbWidth(): number
  • Returns number

  • set higherThumbWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get i(): ZoomSlider
  • Returns ZoomSlider

  • get isCustomBarProvided(): boolean
  • Returns boolean

  • get isCustomRangeThumbProvided(): boolean
  • Returns boolean

  • get isCustomShadeProvided(): boolean
  • Returns boolean

  • get isCustomThumbProvided(): boolean
  • Returns boolean

  • get lowerCalloutBrush(): string
  • Returns string

  • set lowerCalloutBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerCalloutOutline(): string
  • Returns string

  • set lowerCalloutOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerCalloutStrokeThickness(): number
  • Returns number

  • set lowerCalloutStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get lowerCalloutTextColor(): string
  • Returns string

  • set lowerCalloutTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerShadeBrush(): string
  • Returns string

  • set lowerShadeBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerShadeOutline(): string
  • Returns string

  • set lowerShadeOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerShadeStrokeThickness(): number
  • Returns number

  • set lowerShadeStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get lowerThumbBrush(): string
  • Returns string

  • set lowerThumbBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerThumbHeight(): number
  • Returns number

  • set lowerThumbHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get lowerThumbOutline(): string
  • Returns string

  • set lowerThumbOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerThumbRidgesBrush(): string
  • Returns string

  • set lowerThumbRidgesBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get lowerThumbStrokeThickness(): number
  • Returns number

  • set lowerThumbStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get lowerThumbWidth(): number
  • Returns number

  • set lowerThumbWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get maxZoomWidth(): number
  • Returns number

  • set maxZoomWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get minZoomWidth(): number
  • Returns number

  • set minZoomWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get panTransitionDuration(): number
  • Returns number

  • set panTransitionDuration(v): void
  • Parameters

    • v: number

    Returns void

  • get pixelScalingRatio(): number
  • Gets or sets the scaling value used to affect the pixel density of the control. A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control to appear blurry.

    Returns number

  • set pixelScalingRatio(v): void
  • Parameters

    • v: number

    Returns void

  • get rangeThumbBrush(): string
  • Returns string

  • set rangeThumbBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get rangeThumbOutline(): string
  • Returns string

  • set rangeThumbOutline(v): void
  • Parameters

    • v: string

    Returns void

  • get rangeThumbRidgesBrush(): string
  • Returns string

  • set rangeThumbRidgesBrush(v): void
  • Parameters

    • v: string

    Returns void

  • get rangeThumbStrokeThickness(): number
  • Returns number

  • set rangeThumbStrokeThickness(v): void
  • Parameters

    • v: number

    Returns void

  • get startInset(): number
  • Returns number

  • set startInset(v): void
  • Parameters

    • v: number

    Returns void

  • get thumbCalloutTextStyle(): string
  • Returns string

  • set thumbCalloutTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get trackEndInset(): number
  • Returns number

  • set trackEndInset(v): void
  • Parameters

    • v: number

    Returns void

  • get trackStartInset(): number
  • Returns number

  • set trackStartInset(v): void
  • Parameters

    • v: number

    Returns void

  • get width(): string
  • Returns string

  • set width(value): void
  • Parameters

    • value: string

    Returns void

  • get windowRect(): IgRect
  • Returns IgRect

  • set windowRect(v): void
  • Parameters

    • v: IgRect

    Returns void

  • get windowRectChanged(): ((s, e) => void)
  • Occurs just after the current ZoomSlider's window rectangle is changed.

    Returns ((s, e) => void)

      • (s, e): void
      • Occurs just after the current ZoomSlider's window rectangle is changed.

        Parameters

        Returns void

  • set windowRectChanged(ev): void
  • Parameters

    • ev: ((s, e) => void)
        • (s, e): void
        • Parameters

          Returns void

    Returns void

Methods

  • Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

    Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

  • Returns void

  • Called immediately after updating occurs. Not called for the initial render.

    The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

    Parameters

    Returns void

  • Returns void

  • Release any resources held by the ZoomSlider.

    Returns void

  • Parameters

    • name: string

    Returns any

  • Returns void

  • Parameters

    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it.

    Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.

    Parameters

    Returns any

  • Hides the ZoomSlider.

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Called by the UI framework to provide a UI container for rendering this control.

    Parameters

    • container: any
      • The UI container element.

    Returns void

  • Returns DetailedReactHTMLElement<{
        className: string;
        ref: ((ref) => void);
    }, any>

  • Type parameters

    Type Parameters

    • K extends never

    Parameters

    • state: {} | ((prevState, props) => {} | Pick<{}, K>) | Pick<{}, K>
    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • nextProps: any
    • nextState: any

    Returns boolean

  • Shows the ZoomSlider.

    Returns void

  • Returns void

  • Returns void