M
M
Mariik2015-09-23 20:39:34
JavaScript
Mariik, 2015-09-23 20:39:34

Is it possible to create a view in the backbone for an already existing element that has content?

In general, the essence of the issue is this - there are divs, there are links in it. The div is static, but I want to catch link clicks. And it is desirable to do this through the events of the view. But the question is - can the backbone be able to process these events without rendering the element itself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2015-09-23
@27cm

Yes. View.setElement()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question