Sha256: 8cdece6b85335249b2356e3cfd626a9d690cd50322cc9c0e8fbb31afc3463f96

Contents?: true

Size: 1.14 KB

Versions: 43

Compression:

Stored size: 1.14 KB

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Aside',
      icon: #{ promethee_component_render_icon 'aside' },
      position: 30,
      library: true,
      data: {
        type: 'aside',
        attributes: {
          visible_content: {
            searchable: true,
            translatable: true,
            type: 'text',
            value: '<p>Edit me</p>'
          },
          collapsed_content: {
            searchable: true,
            translatable: true,
            type: 'text',
            value: ''
          },
          open_label: {
            searchable: true,
            translatable: true,
            type: 'string',
            value: 'See more'
          },
          open_label_position: {
            collection: [
              { label: 'Left', value: 'left' },
              { label: 'Center', value: 'center' },
              { label: 'Right', value: 'right' }
            ],
            searchable: false,
            translatable: false,
            type: 'enum',
            value: 'left'
          }
        },
        children: []
      }
    })
  JAVASCRIPT
%>
<div ng-init="<%= init %>"></div>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
promethee-5.1.1 app/views/promethee/components/aside/_edit_define.html.erb
promethee-5.1.0 app/views/promethee/components/aside/_edit_define.html.erb
promethee-5.0.2 app/views/promethee/components/aside/_edit_define.html.erb
promethee-5.0.1 app/views/promethee/components/aside/_edit_define.html.erb
promethee-5.0.0 app/views/promethee/components/aside/_edit_define.html.erb
promethee-4.1.28 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.27 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.26 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.25 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.24 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.23 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.22 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.21 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.20 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.19 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.18 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.17 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.16 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.15 app/views/promethee/components/aside/_edit.define.html.erb
promethee-4.1.14 app/views/promethee/components/aside/_edit.define.html.erb