Szukaj na tym blogu

Przykładowe zadanie 23.

Radio-button label
... The label can be positioned before or after the radio-button by setting the labelPositionproperty to 'before'or 'after'.
Radio groups
Radio-buttons should typically be placed inside of an <mat-radio-group>unless the DOM structure would make that impossible ... The radio-group has a valueproperty that reflects the currently selected radio-button inside of the group.
Źródło: https://material.angular.io/components/radio/overview

Która z cech przycisków typu Radio-button wyspecyfikowanych w prezentowanym fragmencie dokumentacji jest prawdziwa?

  1. Właściwość labelPosition przyjmuje jedną z dwóch wartości.
  2. Etykieta (label) może być umieszczona tylko po przycisku radio-button.
  3. Przyciski radio-button są grupowane w elemencie o nazwie <radio-group>.
  4. Właściwość value radio grupy przechowuje tekst podpisu dla każdego radio-button.
B