Skip to content

Commit

Permalink
feat(property): add fluent api helper method for options property pro…
Browse files Browse the repository at this point in the history
…perties
  • Loading branch information
EisenbergEffect committed Jan 25, 2015
1 parent 9a8861c commit 597426b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/property.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ export class OptionsProperty extends BehaviorProperty {
return this;
}

withProperty(name, changeHandler, attribute, defaultValue, defaultBindingMode){
this.properties.push(new BehaviorProperty(name, changeHandler, attribute, defaultValue, defaultBindingMode));
return this;
}

define(taskQueue, behavior){
var i, ii, properties = this.properties;

Expand Down

0 comments on commit 597426b

Please sign in to comment.