Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

[ADM] Implemented propertyVisible() for widget property exposed to user.#141

Closed
xuqingkuang wants to merge 1 commit into
intel:masterfrom
xuqingkuang:propertyVisible
Closed

[ADM] Implemented propertyVisible() for widget property exposed to user.#141
xuqingkuang wants to merge 1 commit into
intel:masterfrom
xuqingkuang:propertyVisible

Conversation

@xuqingkuang

Copy link
Copy Markdown
Contributor

The function will determine the property whether to show in property view.

Replace #131 by @zhizhangchen's comments.

@grgustaf Because of propertyUserVisible is too long and hard to fit the size of docs in widgets.js, so I still use 'propertyVisible' as the function and attribute name.

Comment thread src/js/adm.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that the name has been changed to propertyVisible, I think the function documentation should also change accordingly. For example:
"Tests whether this property is visible to user, for example, property view can use it to decide if it will show this property. "

And, as discussed in another PR request, it is preferred that this function is implemented in BWidget only.

The function will determine the property whether to show in property view.
@xuqingkuang

Copy link
Copy Markdown
Contributor Author

Close for upload a new one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants