Sha256: 6de2ebea1d97057ecdc7c6443ead05674ed8c77a359f6c0ec6b59f15960b728d
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
pageflow.editor.pageTypes.register('internal_links_grid', { configurationEditorView: pageflow.internalLinks.GridConfigurationEditorView, embeddedViews: { 'nav li': { view: pageflow.internalLinks.GridItemEmbeddedView, options: {propertyName: 'linked_page_ids'} }, '.background_image': { view: pageflow.BackgroundImageEmbeddedView, options: {propertyName: 'background_image_id'} } }, pageLinks: function(configuration) { return configuration.internalLinksGrid(); } }); pageflow.editor.pageTypes.register('internal_links_list', { configurationEditorView: pageflow.internalLinks.ListConfigurationEditorView, embeddedViews: { 'nav': { view: pageflow.internalLinks.ListEmbeddedView }, '.background_image': { view: pageflow.BackgroundImageEmbeddedView, options: {propertyName: 'background_image_id'} } }, pageLinks: function(configuration) { return configuration.internalLinksList(); } }); pageflow.editor.registerPageConfigurationMixin(pageflow.internalLinks.pageConfigurationMixin); pageflow.editor.registerSideBarRouting({ router: pageflow.internalLinks.SideBarRouter, controller: pageflow.internalLinks.SideBarController });
Version data entries
2 entries across 2 versions & 1 rubygems