Skip to content

five-on-it / apps/client/src/ui/studio/region / removeRegionElement

Function: removeRegionElement() ​

removeRegionElement(spec, selection): RegionSpecJson

Defined in: apps/client/src/ui/studio/region.ts:205

A spec without the selected element (the region's own fields stay).

Parameters ​

spec ​

RegionSpecJson

selection ​

RegionSelection

Returns ​

RegionSpecJson