Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

rocketbase-io/vue-extra-decorators

Repository files navigation

Vue Extra Decorators

version types license Maintainability

Additional decorators built on vue-class-component

npm i @rocketbase/vue-extra-decorators

Docs

Documentation can be found here

Example

Look at the example directory for examples

Most useful decorators

  • @Prop, @SProp, @BProp, @NProp, @DProp - Define properties
  • @Data - Define data properties
  • @Ref - Bind vue references
  • @Classes, @ClassesKebap - CSS Classes
  • @Watch, @DWatch, @IWatch, @IDWatch - Property watches
  • @On, @OnElement, @OnDocument - Event handlers
  • @Blocking, @BusyState - Manage busy states
  • @RouteParam, @RouteQuery - vue-router support
  • @Emit, @EmitError, @EmitOnStatusCode - Emitting events
  • @Debuffer, @Debounce, @NextTick, @NextMs - Timing