I am reading few blog posts, that use functions and variables like this:
var hiddenElmId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "__Results__");
and many more functions and variable names like Results, but I can't seem to be able to find documentation for these functions from Microsoft or any rich documentation to learn display templates from A to Z. The only thing I found is this one:
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-design-manager-display-templates and this one https://docs.microsoft.com/en-us/SharePoint/technical-reference/display-template-reference-in-sharepoint-server
But they don't explain display templates in details, any recommendation on how to learn to use display templates in code rather than reading arbitrary articles without having a reference to learn from?