-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
data bindingEverything related to data bindingEverything related to data bindingenhancementNew feature or requestNew feature or request
Milestone
Description
link module to <body>
<head>
<script src=//esm.run/nusa/link/root></script>
</head>
<link let=root href=module.js>
<link target="input[type=button]" href=counter.js>
<body>
<input :=root.Log type=text :: value:=root.msg placeholder:=root.default>
<input :=root.Log type=button :: value:=count on:click=increment>
</body>link module to specific element
<script src=//esm.run/nusa/link/element></script>
<input :=io.Log
type=text
::="<link scope=self let=io href=module.js>"
value:=io.msg
placeholder:=io.default
>🤔 Question: should the default (when no
scopeattribute) binding pass to children too like inrender-scope > template[shadowrootmode] *
Possible value for scope attribute:
self- querySelector(:scope) or same asthisElementchild- querySelectorAll(:scope > *)inside- querySelectorAll(:scope *)all- querySelectorAll(:scope, :scope *)
Metadata
Metadata
Assignees
Labels
data bindingEverything related to data bindingEverything related to data bindingenhancementNew feature or requestNew feature or request
Projects
Status
No status