Skip to main content

getSplittedAttributes

@blockslides/core


@blockslides/core / getSplittedAttributes

Function: getSplittedAttributes()

getSplittedAttributes(extensionAttributes, typeName, attributes): Record<string, any>

Defined in: blockslides/packages/core/src/helpers/getSplittedAttributes.ts:10

Return attributes of an extension that should be splitted by keepOnSplit flag

Parameters

extensionAttributes

ExtensionAttribute[]

Array of extension attributes

typeName

string

The type of the extension

attributes

Record<string, any>

The attributes of the extension

Returns

Record<string, any>

The splitted attributes