five-on-it / apps/client/src/ui/studio/region / replaceRegionElement
Function: replaceRegionElement()
replaceRegionElement(
spec,selection,element):RegionSpecJson
Defined in: apps/client/src/ui/studio/region.ts:193
A spec with the selected element replaced.
Parameters
spec
selection
element
Element