Sha256: 851fd61da5ef288a2836ba938b680e79aad87f5e63a44e4732ef8c216eb6c4c1

Contents?: true

Size: 977 Bytes

Versions: 1

Compression:

Stored size: 977 Bytes

Contents

# -----------------------------------------------------------------------------
# Provide for the toggling of js function callback. You can enable or disable
# some or all the automatic flash to js callbacks using this component
#
# Author:: Fernand Galiana
# -----------------------------------------------------------------------------
require 'ziya/components/base'

module Ziya::Components
  # Toggles flash to js callbacks. 
  #
  # === Example
  # Add this component to your yaml stylesheet. Enables Loaded_Chart callback and disable
  # all other callbacks.
  #  <%= comp :flash_to_javascript %>
  #    Loaded_Chart:   true
  #    Render_Count:   false
  #    Scrolled_Chart: false
  # 
  # See http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=Flash_to_Javascript
  # for additional documentation, examples and further detail.
  class FlashToJavascript < Base  
    has_attribute :Loaded_Chart, :Render_Count, :Scrolled_Chart, :Stopped_Scrolling
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
derailed-ziya-2.0.8 lib/ziya/components/flash_to_javascript.rb