DVUEComponent.props

Undocumented in source. Be warned that the author may not have intended to support it.
  1. O props(string name, string datatype, string defaultValue, bool required)
  2. O props(string name, string datatype, string defaultValue, string validate, bool required)
    class DVUEComponent
    O
    props
    (
    this O
    )
    (
    string name
    ,
    string datatype
    ,,
    string validate
    ,
    bool required = false
    )

Examples

extends - Allows declaratively extending another component without having to use Vue.extend. This is primarily intended to make it easier to extend between single file components.

t {
		assert(VUEComponent.extends("a").extends == ["a"]);
		assert(VUEComponent.extends(["a","b"]).extends == ["a","b"]);
		assert(VUEComponent.extends("a").extends("x").extends == ["a", "x"]);
		// TODO: assert(VUEComponent.extends("a").extends("x").removeExtends("a").extends == ["x"]);
		assert(VUEComponent.extends(["a","b"]).clearExtends.extends == null)

Meta