How to use the quasar-framework.uid function in quasar-framework

To help you get started, we’ve selected a few quasar-framework 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 phpzm / quasar-boilerplate / src / themes / phpzm / components / fields / components / wysiwyg.vue View on Github external
events: {
          'froalaEditor.initialized' () {
            console.log('froalaEditor.initialized')
          }
        },
        language: 'pt_br',
        imagePaste: true,
        charCounterCount: true,
        placeholderText: 'test',
        toolbarStickyOffset: 50,
        height: this.getAppHeight - 200,
        imageManagerPageSize: 20,
        imageManagerLoadURL: URL_IMAGE_MANAGER,
        imageUploadURL: URL_IMAGE_UPLOAD,
        imageUploadParams: {
          uid: uid(),
          type: 'image'
        },
//        toolbarButtons: [
//          'undo', 'redo', '|',
//          'bold', 'italic', 'underline', 'strikeThrough', 'paragraphFormat', '|',
//          'subscript', 'superscript', '|',
//          'outdent', 'indent', '|',
//          'formatOL', 'formatUL', 'insertTable', 'insertLink', 'insertImage', '|',
//          'clearFormatting', 'html'
//        ],
        toolbarButtonsXS: ['undo', 'redo', '-', 'bold', 'italic', 'underline']
      }
    }),
    extends: FieldAbstract,
github phpzm / quasar-boilerplate / src / themes / phpzm / components / transition / AppTransitionSlide.vue View on Github external
updateTransition (from, to) {
        this.key = uid()
        if (from === to) {
          this.transition = ''
          return
        }
        const fromDepth = String(from).split('/').length
        const toDepth = String(to).split('/').length
        this.transition = toDepth < fromDepth ? 'slide-right' : 'slide-left'
      }
    },
github phpzm / quasar-boilerplate / src / app / infra / services / http / configure.js View on Github external
http.delete = function (url, config) {
    return _delete(url, Object.assign({}, {requestId: uid()}, config))
  }