Web Component: Tangular-Initials
Tangular-Initials
A simple Tangular template engine helper for rendering initials
from the name (firstname + lastname).
- jComponent
v19|v20
Usage:
<h1>{{ name }}</h1>
<div>{{ username | initials }}</div>
Initials as Image
I have added a new helper called initialsbase64
which creates an image encoded via base64. So you can apply it to <img
tag directly.
<img src="{{ username | initialsbase64(200, 200) }}" />
Created
08. november 2018
Updated
19. february 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com