Writing a helper that produces bound results?

前端 未结 3 1758
忘掉有多难
忘掉有多难 2020-12-09 18:31

I have a date/time formatting helper but what it produces does not update when the underlying property changes. This is not a surprise, but does anyone know how to produce

3条回答
  •  情书的邮戳
    2020-12-09 19:33

    It is unfortunately more complex than I'd like to create a custom helper with bound content. Here's an example that Peter Wagenet wrote: https://gist.github.com/1563710

    I'll be lobbying for this to become easier.

提交回复
热议问题