• property

shortName can.Construct.shortName

 

Property Type: {String}

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

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