You need to sign in to do that
Don't have an account?

Lightning Component Properties & Methods
When I was researching this line of code I managed to level-up in my lightning knowledge, but it opened-up new questions.....
Does anyone know where I can find this list? Reduce is a Javasript method but IsValid() is Salesforce. Where can I get a definitive list please?
var validExpense = component.find('expenseform').reduce(function (validSoFar, inputCmp) {inputCmp.showHelpMessageIfInvalid(); return validSoFar && inputCmp.get('v.validity').valid;}, true);I've worked out what its doing and how it works - tick. But what is means in Components must have a define list of available Properties & Methods.
Does anyone know where I can find this list? Reduce is a Javasript method but IsValid() is Salesforce. Where can I get a definitive list please?
If want to know all the lightning method which salesforce use from aura frame work then please check below link and you will get your answer. And Please dont forgot to mark it solved.
Thanks
My concern is without a comprehensive list its not possible to know what is available till I discover it.
https://developer.salesforce.com/docs/component-library?page=lightning:input , if you goto Specification Tab at the end of it you should have the method provided for each components which we can make use https://<myDomain>.lightning.force.com/componentReference/suite.app where <myDomain> is the name of your custom Salesforce domain which will give you with all the documentation of custom namespace as well.
and as mentioned by Hemant http://documentation.auraframework.org/auradocs#reference?topic=api:Component (http://documentation.auraframework.org/auradocs#reference?topic=api:Component) provides the JavaScript API documentation which also can accesed via my domain https://<myDomain>.lightning.force.com/auradocs/reference.app
Thanks