How to use the iview/src/utils/assist.oneOf function in iview

To help you get started, we’ve selected a few iview examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hunzhiwange / queryphp / frontend / src / components / iview / table / table.vue View on Github external
validator (value) {
                    return oneOf(value, ['small', 'large', 'default']);
                }
            },
github cheng-kang / wildfire / src / modules / iview / components / poptip / poptip.vue View on Github external
validator(value) {
          return oneOf(value, ['click', 'focus', 'hover']);
        },
        default: 'click',
github cheng-kang / wildfire / src / modules / iview / components / dropdown / dropdown.vue View on Github external
validator(value) {
          return oneOf(value, ['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'right', 'right-start', 'right-end']);
        },
        default: 'bottom',
github cheng-kang / wildfire / src / modules / iview / components / tooltip / tooltip.vue View on Github external
validator(value) {
          return oneOf(value, ['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'right', 'right-start', 'right-end']);
        },
        default: 'bottom',