Activity Forums Salesforce® Discussions What are the uses of Renderer and Document in the Saleforce lightning component?

  • What are the uses of Renderer and Document in the Saleforce lightning component?

    Posted by Nikita on September 30, 2019 at 1:34 pm

    What are the uses of Renderer and Document in the Saleforce lightning component?

    Saddam replied 5 years, 1 month ago 3 Members · 2 Replies
  • 2 Replies
  • Yogesh

    Member
    September 30, 2019 at 2:55 pm

    Hello,

    Document

    A description, sample code, and one or multiple references to example components.

    Renderer

    Client-side renderer to override default rendering for a component.

  • Saddam

    Member
    October 1, 2019 at 6:13 am

    Hi,

    Document

    A description, sample code, and one or multiple references to example components.

    Renderer

    Rendering and Rerendering lifecycles contain four basic methods to render the component. These methods are :
    1). render()
    2). rerender()
    3). afterRender()
    4). unrender()

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos