Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to indicate that an attribute is required or optional? #24

Closed
jafl opened this issue May 16, 2012 · 5 comments
Closed

Is it possible to indicate that an attribute is required or optional? #24

jafl opened this issue May 16, 2012 · 5 comments
Assignees

Comments

@jafl
Copy link

jafl commented May 16, 2012

No description provided.

@davglass
Copy link
Member

Only method parameters are set to display optionally. Since theoretically all attributes are optional and should have a default usable value.

@jafl
Copy link
Author

jafl commented May 16, 2012

I disagree that all attributes are optional. If a widget needs a datasource in order to function, then it's not optional.

@davglass
Copy link
Member

I "think" there's support for the @ optional tag. (not at a machine ATM)

@jafl
Copy link
Author

jafl commented May 17, 2012

It's not documented here: http://yui.github.com/yuidoc/syntax/index.html

If it does exist, then it would good to fix the docs. If it doesn't exist, it would be really cool if it could be added :)

@davglass davglass reopened this May 17, 2012
@ghost ghost assigned davglass May 17, 2012
@davglass
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants