Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E720 Topic 3 Question 17 Discussion

Actual exam question for Adobe's AD0-E720 exam
Question #: 17
Topic #: 3
[All AD0-E720 Questions]

What is the difference between styles-l.less and styles-m.less ?

Show Suggested Answer Hide Answer
Suggested Answer: A, C

To apply a knockout binding to a

to run a function, onClick(), when it's clicked, the developer can use either of the following solutions:

A)

: This solution will use the click binding to execute the onClick() function as an expression when the
is clicked. The function will be called with the current binding context as the first parameter and the event object as the second parameter.

C)

: This solution will use the click binding to execute the onClick function as a reference when the
is clicked. The function will be called with the current binding context as the first parameter and the event object as the second parameter.

The following solutions are not valid and will not work:

B)

<!-- ko click: 'onClick' --><!-- /ko -->
: This solution will use the virtual element syntax to apply the click binding, but it will pass a string literal instead of a function expression or reference. This will cause an error, as the click binding expects a function value.

D)

: This solution will use a custom attribute instead of a data-bind attribute to apply the click binding. This is not supported by knockout and will not have any effect.


Contribute your Thoughts:

Francesco
3 days ago
I believe styles-m.less is for mobile-specific styles.
upvoted 0 times
...
Jesusa
6 days ago
I think the difference is that styles-i.less is for desktop-specific styles.
upvoted 0 times
...