Seed Barista - v0.8.1
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');