How can I pass this to js module
home.cshtml
<p id="timer" end-date="2030.12.31."
Presently sadly the cshtml file does not notice that the end-date is a variable.
I tried to set up there as
@{var end-date = …..}
But it did not really want to work out.
How can I send the date value to the js. And how do I code in the js file this.
thanks a lot