Ticket #2530944 (closed enhancement)
Reporter Brian J. Miller |
Opened: 08/18/11 Last modified: 12/13/11 Status: closed Type: enhancement Resolution: wontfix |
Owner Ryan Grove |
Target Release: 3.5.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Include getClassName in Y.View | ||
| Description: | It is nice to be able to call .getClassName on Y.Widget based objects and get a sane class name, similar functionality would be very helpful with Y.View objects. |
||
| Type: | enhancement | Observed in Version: | development master |
| Component: | View | Severity: | S3 (normal) |
| Assigned To: | Ryan Grove | Target Release: | 3.5.0 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 08/23/11
|
|
Posted: 08/23/11
|
|
Posted: 12/13/11
|
After giving this some thought, I think getClassName probably doesn't add enough value to the base View class to justify being a default dependency. It's easy enough to add it to a subclass, so that's what I'd recommend doing if you need to generate class names for a view.