EasyUI Forum

General Category => EasyUI for React => Topic started by: chrwei on August 14, 2019, 09:08:32 AM



Title: documentation inconsistencies
Post by: chrwei on August 14, 2019, 09:08:32 AM
on https://www.jeasyui.com/documentation5/index.php many component docs list as "extends LocaleBase", but LocaleBase isn't documented.  does it really have no useful properties?

Messager for example shows this, but in the Demos the custom example shows using borderType and showHeader, which after some poking leads me to believe it actually Extends from Dialog.

MenuButton does not list onMenuItemClick in the docs or demos at all, I found it using the React Developer Tools for Chrome, and this prop is the only way I was able to make menus under the button register a click event.



Title: Re: documentation inconsistencies
Post by: stworthy on August 15, 2019, 12:42:19 AM
1. The LocaleBase has only one method that is only used internally. No other useful properties and methods.

2. The Messager does not extend from Dialog, but it wraps a MessagerDialog that extends from Dialog. This MessagerDialog receives the properties from Messager.

3. The MenuButton documentation has been updated.


Title: Re: documentation inconsistencies
Post by: chrwei on August 15, 2019, 12:32:33 PM
MessagerDialog isn't documented and isn't mentioned anywhere at all.

I'm just pointing out that demos show use of props that the documentation does not mention.