Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F1263201
stimulus-controller.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
424 B
Referenced Files
None
Subscribers
None
stimulus-controller.ts
View Options
import
{
toKebabCase
,
toPascalCase
}
from
"js-convert-case"
;
export
function
jddComponentTemplate
(
controller_name
:
string
)
{
return
`import { Controller } from "stimulus";
export default class
${
toPascalCase
(
controller_name
)
}
extends Controller {
connect() {
console.warn(
"Remove
${
toKebabCase
(
controller_name
)
}
.stimulus.ts file if your JDD component doesn't need any browser-side logic"
);
}
}
`
;
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jan 24, 16:50 (7 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
599464
Default Alt Text
stimulus-controller.ts (424 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment