Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 450 Bytes

prop.md

File metadata and controls

31 lines (17 loc) · 450 Bytes

.prop()

.prop(property)

Argument Type Description
property string The CSS property to retrieve.

Returns

Type Description
string The CSS property retrieved. false is property doesn't exist.

Aliases

  • getProp()

Examples

var output = barista({ ... });
var rule = output.rule('.vote-pedro');

expect(rule.prop('position')).to.equal('absolute');