How to use the @inkline/inkline/src/helpers.uid function in @inkline/inkline

To help you get started, we’ve selected a few @inkline/inkline 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 inkline / inkline / src / components / Modal / script.js View on Github external
data() {
        const basename = 'modal';

        return {
            id: this.$attrs.id || uid(basename),
            basename
        };
    },
    methods: {
github inkline / inkline / src / components / Select / script.js View on Github external
data() {
        const basename = 'select';

        return {
            id: this.$attrs.id || uid(basename),
            isMobile: isMobile(),
            labelModel: '',
            options: []
        }
    },
    watch: {
github inkline / inkline / src / components / Popover / script.js View on Github external
data() {
        const basename = 'popover';
        return {
            id: this.$attrs.id || uid(basename),
            basename
        };
    }
};
github inkline / inkline / src / components / Tooltip / script.js View on Github external
data() {
        const basename = 'tooltip';

        return {
            id: this.$attrs.id || uid(basename),
            basename
        };
    },
    watch: {
github inkline / inkline / src / components / Dropdown / script.js View on Github external
data() {
        const basename = 'dropdown';

        return {
            id: this.$attrs.id || uid(basename + '-menu'),
            items: [],
            menu: null,
            basename
        };
    },
    computed: {