Class/Module Index [+]

Quicksearch

Compass::SassExtensions::Functions::Display

Constants

DEFAULT_DISPLAY

Public Instance Methods

elements_of_type(display) click to toggle source

returns a comma delimited string for all the elements according to their default css3 display value.

# File lib/compass/sass_extensions/functions/display.rb, line 24
def elements_of_type(display)
  Sass::Script::String.new(DEFAULT_DISPLAY.fetch(display.value.to_sym).join(", "))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.