Skip to content

Commit

Permalink
feat(new api option): icon-valign
Browse files Browse the repository at this point in the history
  • Loading branch information
jyounce committed Dec 30, 2018
1 parent 62dcfd0 commit 5dcb10f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/scripts/rb-popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
iconKind: props.string,
iconSize: props.number,
iconSource: props.string,
iconValign: props.string,
position: Object.assign({}, props.string, {
default: 'right'
}),
Expand Down
1 change: 1 addition & 0 deletions src/client/views/rb-popover.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
icon-kind="${props.iconKind || 'info-circle'}"
icon-size="${props.iconSize || undefined}"
icon-source="${!props.iconKind ? 'solid' : props.iconSource}"
icon-valign="${view.ifDefined(props.iconValign || undefined)}"
@click="${this._clickToggle.bind(this)}"
@mouseover="${this._hoverToggle.bind(this)}">
</rb-button>
Expand Down

0 comments on commit 5dcb10f

Please sign in to comment.