docs(switch): toggle() and check() should be private

This commit is contained in:
Drew Rygh
2015-12-09 16:30:15 -06:00
parent 5cd2e5bb00
commit 09a0233702

View File

@ -167,6 +167,7 @@ export class Switch {
/**
* Set checked state of this switch.
* @param {boolean} value Boolean to set this switch's checked state to.
* @private
*/
check(value) {
this.checked = !!value;
@ -175,6 +176,7 @@ export class Switch {
/**
* Toggle the checked state of this switch.
* @private
*/
toggle(ev) {
this.check(!this.checked);