Class Compass::SassExtensions::Sprites::Image
In: lib/compass/sass_extensions/sprites/image.rb
Parent: Object

Methods

active   active?   digest   file   height   hover   hover?   mtime   name   new   offset   parent   position   repeat   spacing   target   target?   width  

Constants

ACTIVE = %r{[_-]active$}
TARGET = %r{[_-]target$}
HOVER = %r{[_-]hover$}
PARENT = %r{(.+)[-_](.+)$}

Attributes

base  [R] 
left  [RW] 
options  [R] 
relative_file  [R] 
top  [RW] 

Public Class methods

Public Instance methods

Active selector Image object if exsists

Is active selector

MD5 hash of this file

The Full path to the image

Height of the image

Hover selector Image object if exsists

Is hover selector

Basename of the image

Offset within the sprite

Value of $#{name}-position or $position defaults o 0px

Value of $#{name}-repeat or $repeat

Spacing between this image and the next

Target selector Image object if exsists

Is target selector

Width of the image

[Validate]