mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
7 lines
146 B
Plaintext
7 lines
146 B
Plaintext
class {
|
|
getFullName() {
|
|
return this.input.firstName + ' ' + this.input.lastName;
|
|
}
|
|
}
|
|
|
|
<div>Hello ${component.getFullName()}!</div> |