Skip to content

Commit

Permalink
feat(label): add label attribute binding
Browse files Browse the repository at this point in the history
  • Loading branch information
serifine committed Apr 14, 2017
1 parent 6367b16 commit 8e06eac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/checkbox/ux-checkbox.html
Expand Up @@ -13,5 +13,5 @@
</div>

<!-- Leave Inline, uses :not(:empty) selector to determine margin -->
<label ref="label"><slot></slot></label>
<label><slot>${label}</slot></label>
</template>
1 change: 1 addition & 0 deletions src/checkbox/ux-checkbox.ts
Expand Up @@ -12,6 +12,7 @@ import { processDesignAttributes } from '../designs/design-attributes';
export class UxCheckbox implements Themable {
@bindable public disabled: any = null;
@bindable public effect = null;
@bindable public label: string;
@bindable public matcher = (a: any, b: any) => a === b;
@bindable public model: any;
@bindable public tabindex = 0;
Expand Down

0 comments on commit 8e06eac

Please sign in to comment.