compass/doc-src/content/reference/compass/helpers/display.haml
Adam Bowen 84e3746325 "to the right" doesn't make sense with how the page is laid out
"listed below the display value" is a bit more relevant to the current documentation layout
2011-07-20 16:05:47 -07:00

40 lines
1011 B
Plaintext

---
title: Compass Display Helpers
crumb: Display Helpers
framework: compass
meta_description: Helper functions for working with the display property.
layout: core
classnames:
- reference
- core
- helpers
documented_functions:
- "elements-of-type"
---
%h1 Compass Display Helpers
%p Helper functions for working with the display property.
#elements-of-type.helper
%h3
%a(href="#elements-of-type") elements-of-type(<span class="arg">$display</span>)
.details
%p
The following display values exist and will return
the elements listed below the display value.
%dl
%dg.head
%dt Display Value
%dd Elements Returned
- display_map = Compass::SassExtensions::Functions::Display::DEFAULT_DISPLAY
- display_map.keys.each do |key|
%dg
%dt= key
%dd= display_map[key].sort.join(", ")
.examples
%h4 Examples
%ul
%li
%a(href="/examples/compass/helpers/elements-of-type/") Example of elements-of-type