Attributes

The following table shows the definition of each of the attributes available on the ltng:require component:

Attribute name Attribute type Description
body Component[]

The body of the component. In markup, this is everything in the body of the tag.

scripts String[]

The set of scripts that will be loaded in dependency order.

styles String[]

The set of style sheets that will be loaded in dependency order.

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.