Are there any predefined variables available in the template in angular dart?

StackOverflow https://stackoverflow.com/questions/23264321

  •  08-07-2023
  •  | 
  •  

Pergunta

The dart documentation currently lacks a "few" details and google didn't help me either.

Are there any predefined variables or something like that in angulardart templates? To clarify what I mean with that:

Something like {{baseURL}} or something like that. In short: stuff that angular provides to each template.

In Smarty (php templating) there is a debug directive that shows everything that is in the current scope, which is great for developing and debugging more complex templates. I assume that dart has nothing like that yet?

Foi útil?

Solução

I can't find any suggestion that there are any. If there were, the list would need to be published, as it could easily clash with your own names, and would cause confusion.

If you need to access anything like this, I think it'd make more sense to add them to your object directly, it would make it much easier to understand (and debug) later!

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top