[@types/oojs-ui] Missing some jQuery properties #69557
Unanswered
jwbth
asked this question in
Issues with a @types package
Replies: 2 comments 1 reply
-
Thanks for the discussion about "oojs-ui", some useful links for everyone: Pinging the DT module owners: @diskdance, @ChlodAlejandro. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is intentionally hidden because interface can only define public members. Allowing these will require to written the package in |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is rather an issue of the OOUI documentation, but these props are still desirable to have.
This is the list of jQuery properties available in a class extending OO.ui.ProcessDialog:
![image](https://private-user-images.githubusercontent.com/33615628/329204430-f25c33b1-0f9b-479c-8856-6a4dbdd794d0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MDgxOTAsIm5iZiI6MTcxOTkwNzg5MCwicGF0aCI6Ii8zMzYxNTYyOC8zMjkyMDQ0MzAtZjI1YzMzYjEtMGY5Yi00NzljLTg4NTYtNmE0ZGJkZDc5NGQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDA4MTEzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwODY2MWYwYTk4YWI1YzAwOTIxOGYxM2MxNzQ2N2VhYzlmYWVhMTM5OTVmYTAwNTkxMDJmZGEyN2MzMWExZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5PA01ZwVI5BR3Xkafv46nwpiyikfK70bXvzsMiUKKig)
As you can see,
$body
, among others, in not in the list.this.$body
is used in the example code in the docs for OO.ui.ProcessDialog, as well as the docs for OO.ui.Dialog. But it is not in the auto-generated property list of the docs.The properties themselves are defined in OO.ui.Window.prototype.initialize, see the code.
Beta Was this translation helpful? Give feedback.
All reactions