30 lines
859 B
HTML
30 lines
859 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
<title>Named Parameters Test</title>
|
|
<style>
|
|
body {
|
|
margin: 0; /* mostly for demo on mobile */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="diagram" class="diagram">
|
|
<pre class="zenuml" style="margin: 0">
|
|
title Named Parameters Test
|
|
// Testing named parameter syntax (param=value)
|
|
A.method(userId=123, name="John")
|
|
B.create(type="User", active=true)
|
|
C.mixedCall(1, name="Mixed", enabled=false)
|
|
D.oldStyle(1, 2, 3)
|
|
E.complex(first="value1", second=42, third=true, fourth="final")
|
|
</pre
|
|
>
|
|
</div>
|
|
<!-- built files will be auto injected -->
|
|
<script type="module" src="/src/main-cy.ts"></script>
|
|
</body>
|
|
</html> |