AK
Size: a a a
AK
AK
YS
YS
YS
AK
l(
YS
BB
@action
setupSurveyQuestions(element) {
let nodeList = element.querySelectorAll("surveyquestion");
this.surveyQuestions = [...nodeList].map((node) => ({
node,
id: node.getAttribute("id"),
}));
}
<div {{did-insert this.setupSurveyQuestions}}>
{{#each this.surveyQuestions as |surveyQuestion|}}
{{#in-element surveyQuestion.node}}
<SurveyQuestion
@participant={{this.participant}}
@questionId={{surveyQuestion.id}}
/>
{{/in-element}}
{{/each}}
</div>
VZ
VZ
VZ
/
меня переадресовывает куда надо, если перехожу по LinkTo
– остаюсь на /
AB
AB
AB
VZ
application
VZ
beforeModel
роутаVZ
application
, когда переходишь с application/templates
на application
, например, beforeModel
не тригеррится, я так понимаю.VZ