@inject IPokemonService PokemonService @inject IJSRuntime JS @inject NavigationManager Navigation @attribute [StreamRendering] @rendermode InteractiveServer
@(pokemons.Count()) Pokemon
# | Pokemon | Type | Sleep Type | Speciality | |
---|---|---|---|---|---|
@if (shinyUrl == null)
{
ToggleImage(pokemon.Id)">
}
|
@pokemon.PokemonId | ViewPokemon(pokemon.PokemonId)" class="pokemon-name-style fw-light col-2">@(pokemon.IsVariation && ToggleVariationName(pokemon.Id, pokemon.PokemonId) ? $"{pokemon.VariationName} {pokemon.PokemonName}" : pokemon.PokemonName) |
|
|
|
@(pokemons.Count())