Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ui/render"

Index

Variables

overlayWrapper

overlayWrapper: HTMLElement = document.getElementById(CSS.RMX_OVERLAY_WRAPPER)

remote

remote: Remote = remixer.attachedInstance.remote

variables

variables: Array<Variable> = remixer.attachedInstance.variablesArray

Functions

redraw

  • redraw(): void

toggleRemoteEnabled

  • toggleRemoteEnabled(): void
  • Toggles the enabled status of remote sharing.

    Returns void

updateVariable

  • updateVariable(variable: Variable, selectedValue: any): void
  • Handles all control updates by setting a new selected value for the variable.

    To maintain immutability for React, lets first clone the variable, update its selected value, then set it back to the variables array. Doing so allows each control to handle its own shouldComponentUpdate method to determine if it should be re-rendered.

    Parameters

    • variable: Variable

      The variable to update.

    • selectedValue: any

      The new selected value.

    Returns void

Generated using TypeDoc