Handle Actions with Controllers | Aura Components Basics

Опубликовано: 24 Декабрь 2022
на канале: Saurabh Infotech Solutions
35
2

#salesforce
#trailhead
#salestraining
#salesforcetrailhead

Aura Components Basics

Mark item as packed
Add a button to the campingListItem component that when clicked, marks the item as packed.
Add a button labeled Packed! that calls the packItem controller function when clicked.
The controller function should:
Set the Packed__c value to true in the item attribute created in the previous challenge
Get the button from the 'event' using getSource()
Disable the button by setting its v.disabled attribute to true
00:00 Introduction
00:36 Open Resources
03:14 View Coadding


Смотрите видео Handle Actions with Controllers | Aura Components Basics онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Saurabh Infotech Solutions 24 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 35 раз и оно понравилось 2 людям.