Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ng-keralam - vertual conference 2022

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for Bharath Ravi Bharath Ravi
January 30, 2022
74

ng-keralam - vertual conference 2022

Configurable Angular CTAs

Avatar for Bharath Ravi

Bharath Ravi

January 30, 2022
Tweet

Transcript

  1. Who am i? BHARATH RAVI - @_bharath_ravi Angular enthusiast Building

    the world’s best contract management solution at .com We’re hiring! Let’s talk - [email protected]
  2. CTA action Service Wrapper directive Controls action on each CTA

    Triggers actions based on multiple conditions. Holds configurations applied to the CTAs MILESTONES Bundle it all in one Bundling the whole logic to one structural directive
  3. CTA action Service • Defines the action to take place

    on click of the button. • Provide configurations to the button. Such as visibility, tooltip, disabled state etc…
  4. Wrapper directive • Create a button wrapper component. • Define

    IBUTTONACTION, map to corresponding action service • Create a structural directive. • Attach the wrapper to document. • Move the service logic inside directive • Move click listener to directive
  5. CREDITS: This presentation template was created by Slidesgo, including icons

    by Flaticon, and infographics & images by Freepik and illustrations by Stories THANK you! Do you have any questions? @_bharath_ravi http://bharath-ravi.medium.com/ [email protected] [email protected]