shortName

  • property
can.Construct.shortName

{String}

 

If you pass a name when creating a Construct, the shortName property will be set to the name you passed without the namespace.

String

can.Construct("MyApplication.MyConstructor",{},{});
MyApplication.MyConstructor.namespace // "MyApplication"
MyApplication.MyConstructor.shortName // "MyConstructor"
MyApplication.MyConstructor.fullName  // "MyApplication.MyConstructor"