Mam taki kod w angularJS, nazwa + Show daje nam nazwe id checkboxa w htmlu
if (!angular.element('#' + nazwa + 'Show')[0].checked)
chce to przerobić na angular2, pytanie jak?
Mam taki kod w angularJS, nazwa + Show daje nam nazwe id checkboxa w htmlu
if (!angular.element('#' + nazwa + 'Show')[0].checked)
chce to przerobić na angular2, pytanie jak?
użyć bo bożemu formularzy, albo ngModelu, albo na event change, ViewChild'em też sie da. Także troche opcji jest.