14 lines
404 B
JavaScript
14 lines
404 B
JavaScript
|
|
import { handleRowVariables, handleRowOptions } from '../middle-row/sync'
|
||
|
|
import ctEvents from 'ct-events'
|
||
|
|
|
||
|
|
ctEvents.on(
|
||
|
|
'ct:header:sync:collect-variable-descriptors',
|
||
|
|
(variableDescriptors) => {
|
||
|
|
variableDescriptors['bottom-row'] = handleRowVariables
|
||
|
|
}
|
||
|
|
)
|
||
|
|
|
||
|
|
ctEvents.on('ct:header:sync:item:bottom-row', (changeDescriptor) =>
|
||
|
|
handleRowOptions({ selector: '[data-row*="bottom"]', changeDescriptor })
|
||
|
|
)
|