Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2020-11-26 21:05:57 +08:00
21 changed files with 240 additions and 62 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
import { VanComponent } from './component';
export type ToggleAllOptions = {
checked?: boolean;
skipDisabled?: boolean;
};
export class CheckboxGroup extends VanComponent {
toggleAll(checked?: boolean): void;
toggleAll(options?: boolean | ToggleAllOptions): void;
}