Thanks for feedback! But it is not the same I asked.
In my app I need correct layout conf after loading templates & i18n data, but when I call layout.layout(conf) where
conf = {
collapsedContent: myFunc
}
nothing change because 'createExpandPanel' result save in panels cache after first parse
panels[expandP] = createExpandPanel(region);
So I can't find a way to change collapsedContent.