Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScreenActions<A>

Type parameters

  • A

Hierarchy

  • ActionCreatorsMapObject
    • ScreenActions

Indexable

[key: string]: ActionCreator<A>

Index

Properties

addDevice

addDevice: function

Type declaration

    • (type: "personal" | "communal", name?: undefined | string, orientation?: "landscape" | "portrait", createRootRegion?: undefined | false | true): ADD_DEVICE
    • Parameters

      • type: "personal" | "communal"
      • Optional name: undefined | string
      • Optional orientation: "landscape" | "portrait"
      • Optional createRootRegion: undefined | false | true

      Returns ADD_DEVICE

addDeviceAndPlaceRegions

addDeviceAndPlaceRegions: function

Type declaration

placeRegionOnScreen

placeRegionOnScreen: function

Type declaration

    • Parameters

      • screenId: string
      • position: Coords
      • size: Coords
      • Optional regionId: undefined | string
      • Optional name: undefined | string
      • Optional color: undefined | string

      Returns PLACE_REGION_ON_SCREEN

removeDevice

removeDevice: function

Type declaration

splitRegion

splitRegion: function

Type declaration

    • (screenId: string, regionId: string, orientation: "horizontal" | "vertical", position: number): SPLIT_REGION
    • Parameters

      • screenId: string
      • regionId: string
      • orientation: "horizontal" | "vertical"
      • position: number

      Returns SPLIT_REGION

undoLastSplit

undoLastSplit: function

Type declaration

updateSelectedScreen

updateSelectedScreen: function

Type declaration

Generated using TypeDoc