Skip to content

Seed Barista - v0.8.1

Choose a tag to compare

@ItsJonQ ItsJonQ released this 27 May 01:05
· 71 commits to master since this release

Updates

.prop() is an alias for jQuery's .css() method. The reason for adding this is to provide better consistency between standard and mounted APIs.

Resolves: #18

.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

  • css()

Examples

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

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