From 4c8efb335b64710d6741d15939d8db89a4b84f10 Mon Sep 17 00:00:00 2001 From: Riophae Lee Date: Sun, 1 Sep 2019 07:25:41 +0800 Subject: [PATCH] remove `loading` prop --- docs/components/DocProps.vue | 5 ----- src/mixins/treeselectMixin.js | 9 --------- 2 files changed, 14 deletions(-) diff --git a/docs/components/DocProps.vue b/docs/components/DocProps.vue index c5e28349..550725f4 100644 --- a/docs/components/DocProps.vue +++ b/docs/components/DocProps.vue @@ -195,11 +195,6 @@ type: `Fn${makeArgNameList([ 'count' ])} 🡒 String`, defaultValue: code('count => `and ${count} more`'), description: 'Function that processes the message shown when selected elements pass the defined limit.', - }, { - name: 'loading', - type: 'Boolean', - defaultValue: code('false'), - description: `Whether is externally loading options or not. Set ${code('true')} to show a spinner.`, }, { name: 'loadingText', type: 'String', diff --git a/src/mixins/treeselectMixin.js b/src/mixins/treeselectMixin.js index 1ca68010..2365fe60 100644 --- a/src/mixins/treeselectMixin.js +++ b/src/mixins/treeselectMixin.js @@ -353,15 +353,6 @@ export default { }, }, - /** - * Whether is externally loading options or not. - * Set `true` to show a spinner. - */ - loading: { - type: Boolean, - default: false, - }, - /** * Text displayed when loading options. */