Sha256: 619c97cdcd760b2913d4890ce1c224bb80efb89f567b9f87ac6d5325da932468

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

- resize_text = (attr? :resize_section) ? (attr :resize_section) : false
- if resize_text == 'true'
  div style="position:absolute; top:150px; left:10px; right:10px;"
    section id=@id data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
      h2=title
      - if attr? :scrollbar
        .scrollbar
          =content
      - else
        =content.chomp
- else
  section id=@id data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
    h2=title
    - if attr? :scrollbar
      .scrollbar
        =content
    - else
      =content.chomp

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyla-1.0.5 lib/resources/backends/slim/revealjs/section.html.slim
hyla-1.0.5.pre.1 lib/resources/backends/slim/revealjs/section.html.slim