Class: Slippery::Processors::DeckJs

Inherits:
Slippery::Processor show all
Defined in:
lib/slippery/processors/deck_js.rb

Overview

Constant Summary collapse

ROOT =
ProcessorHelpers.asset_uri('deck.js/')
CORE_JS =
URI.join(ROOT, 'core/deck.core.js')
CORE_CSS =
URI.join(ROOT, 'core/deck.core.css')
DEFAULT_OPTIONS =
{
  extensions: %w[menu goto status navigation scale],
  theme: 'web-2.0',
  transition_theme: 'horizontal-slide'
}

Instance Method Summary collapse

Methods inherited from Slippery::Processor

#initialize, #options

Methods included from Slippery::ProcessorHelpers

asset_uri, #call, #data_attributes, #hash_to_js, #include_local_css, #include_local_javascript, included, #javascript_include_tag, #stylesheet_link_tag

Constructor Details

This class inherits a constructor from Slippery::Processor

Instance Method Details

#themeObject



72
73
74
# File 'lib/slippery/processors/deck_js.rb', line 72

def theme
  options[:theme]
end

#transition_themeObject



76
77
78
# File 'lib/slippery/processors/deck_js.rb', line 76

def transition_theme
  options[:transition_theme]
end