You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: manyArea label for issues related to many componentsdocsThis issue is related to documentationhelp wantedLabel noting an issue which the team is looking for contribution from the community to fix
I noticed that some properties/methods are inherited from a parent class. Is there a way to get the docs copied from there instead of maintain two EQUAL docs?
Every member that is inherited is now showing up in the docs. If you still see some members that are not showing up properly, please file a new issue/or respond here and cc. me. Thanks!
@devversion I guess you solved part of the "problem". This issue doesn't consists only about inherited members. There are a few members (in table that I listed) that are still undocumented and aren't inherited from anywhere.
It'd be great if you reopen this issue.
By the way, do you mind if I send separate PRs to fix some of them?
@rafaelss95 That might be true. I didn't specifically look at all members in the table you posted, because I thought it was also about the inherited members.
And sure, please go ahead and submit a PR. For such small changes It would be better to just have one PR for all members.
@jelbourn I still see some of them undocumented or wrongly documented (see MatDatepickerInput#registerOnValidatorChange - it appears in docs, while it shouldn't, as it's marked with @docs-private annotation. Also, I think @docs-private shouldn't even be necessary, if that method was listed here:
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: manyArea label for issues related to many componentsdocsThis issue is related to documentationhelp wantedLabel noting an issue which the team is looking for contribution from the community to fix
Activity
rafaelss95 commentedon Dec 12, 2017
I noticed that some properties/methods are inherited from a parent class. Is there a way to get the docs copied from there instead of maintain two EQUAL docs?
CDDelta commentedon Jan 10, 2018
Good news PR #9299 is fixing this.
rafaelss95 commentedon Jan 11, 2018
AFAIK that PR is only related for some missing docs, not all.
devversion commentedon Jan 14, 2018
Every member that is inherited is now showing up in the docs. If you still see some members that are not showing up properly, please file a new issue/or respond here and cc. me. Thanks!
rafaelss95 commentedon Jan 14, 2018
@devversion I guess you solved part of the "problem". This issue doesn't consists only about inherited members. There are a few members (in table that I listed) that are still undocumented and aren't inherited from anywhere.
It'd be great if you reopen this issue.
By the way, do you mind if I send separate PRs to fix some of them?
3 remaining items
devversion commentedon Jan 14, 2018
@rafaelss95 That might be true. I didn't specifically look at all members in the table you posted, because I thought it was also about the inherited members.
And sure, please go ahead and submit a PR. For such small changes It would be better to just have one PR for all members.
rcanacci commentedon Jan 15, 2018
Does anyone here know how to use 'shouldLabelFloat' on a MatInput?
Completely lost, docs are useless.
rafaelss95 commentedon Jan 23, 2018
@devversion:
ExpansionPanel:
expandedis declared like this:https://github.com/angular/material2/blob/7024dc49f8cc067da14be36a8172437e03074186/src/lib/expansion/expansion-panel.ts#L75
Is there a specific reason to it be declared this way, instead of the usual
@Input()? I'm asking because this way, AFAIK, it can't be documented.Sort:
matSortDisabledis declared like this:https://github.com/angular/material2/blob/7024dc49f8cc067da14be36a8172437e03074186/src/lib/sort/sort.ts#L58
...however it appears as
disabledin docs.Also, all the
inputsdeclared inComponent/Directivemetadata appear without@Input()decorated. Is it the expected behavior?benedikt-roth commentedon Oct 28, 2018
How can one hide the
updateErrorStatefrom the docs? (For example in MatSelect.) From what I understand this should not be part of the public API.jelbourn commentedon May 25, 2021
Closing this since, as far as I can tell, all of these APIs are now correctly captured in the generated API docs.
rafaelss95 commentedon May 26, 2021
@jelbourn I still see some of them undocumented or wrongly documented (see
MatDatepickerInput#registerOnValidatorChange- it appears in docs, while it shouldn't, as it's marked with@docs-privateannotation. Also, I think@docs-privateshouldn't even be necessary, if that method was listed here:components/tools/dgeni/common/private-docs.ts
Lines 4 to 19 in ad24865
Should I create a new issue or just update this issue with the still missing members (and it will be reopened)?
rafaelss95 commentedon May 26, 2021
Btw, here is the updated list:
optionGroups,optionsappearanceclickAction,colorerrorState,stateChangesupdateErrorStateididididregisterOnValidatorChange,validateerrorStateMatcher,errorState,stateChangesregisterOnValidatorChange,validateerrorStateMatcher,errorState,stateChangesregisterOnValidatorChange,validatecalendar,periodButtonLabelevent,valuepanelidappearance,hideRequiredMarkererrorStateupdateErrorStatematAutosize,matAutosizeMaxRows,matAutosizeMinRows, placeholder`MatListOptionselectionListcustomTrigger,errorState,ngControl,optionGroups,options,stateChangesopen,updateErrorStatedefaultssnackBarRefaction,data,hasActon,snackBarRefpanelIdvalueoptions,urlcoloranimationDone,color,disableRipple,labelPosition,stepsanimationDone,color,disableRipple,labelPosition,stepstemplateReflength,pageIndex,pageSizeinitialized,length,page,pageIndex,pageSizeoriginhideDelay,position,showDelay,touchGestures,touchendHideDelayisExpanded,leveldata,templatenode,isExpanded,levelrecursiveviewContainergetChildren,getLevel,isExpandable,transformFunctiondataconnect,disconnectconnect,disconnectelementtemplateReftemplateRefboundaryElement,constrainPosition,dragStartDelay,draggingDisabled,listAutoScrollDisabled,listOrientation,lockAxis,previewClass,previewContainer,rootElementSelector,sortingDisabled,zIndexheight,maxHeight,maxWidth,minHeight,minWidth,widthoffsetX,offsetY,originX,originY,overlayX,overlayY,panelClass,weightoriginX,originYoverlayX,overlayYorigindetachorigindetachattachDomPortalattachDomPortaldir,elementRef,ngZone,scrollDispatcherelementRefleft,topdataStreamtemplateRefviewContainertemplateelements,offsets,sizeslocatorFactoryplaceholderisExpanded,leveltemplateviewContainerisExpanded,levelgetLevel,isExpandable,optionsgetChildren,optionstrackBytrackBy