feat: add row/col tags
This commit is contained in:
1
test_cml/code.cml
Normal file
1
test_cml/code.cml
Normal file
@@ -0,0 +1 @@
|
||||
<bundle src="/app.bundle" />
|
9
test_cml/header.cml
Normal file
9
test_cml/header.cml
Normal file
@@ -0,0 +1,9 @@
|
||||
<meta>
|
||||
<fragment>
|
||||
<name>header</header>
|
||||
<attr type="string" name="content" />
|
||||
</fragment>
|
||||
</meta>
|
||||
|
||||
<text level="1" style="bold italic">{content}</text>
|
||||
|
@@ -1,4 +1,16 @@
|
||||
<import src="https://google.com/header.cml" />
|
||||
|
||||
<box>
|
||||
<text level="1">hello from clef</text>
|
||||
<text>this is rendered from hello.cml</text>
|
||||
</box>
|
||||
|
||||
<header content="my content" />
|
||||
|
||||
<row id="kasjksajdkj">
|
||||
<text level="1">hello from clef</text>
|
||||
<text>this is rendered from hello.cml</text>
|
||||
</row>
|
||||
|
||||
<bundle src="/app.bundle" />
|
||||
|
||||
|
17
test_cml/permission.cml
Normal file
17
test_cml/permission.cml
Normal file
@@ -0,0 +1,17 @@
|
||||
<meta>
|
||||
<title>asdklasdk</title>
|
||||
<description>askdjksajdk</description>
|
||||
|
||||
<!-- permission system -->
|
||||
<permissions>
|
||||
<filesystem description="aksdjsadjksjdk" />
|
||||
<camera description="asldklsadk" />
|
||||
<location description="" type="precise|approximate" />
|
||||
<gpu />
|
||||
</permissions>
|
||||
</meta>
|
||||
|
||||
<text id="label" />
|
||||
|
||||
<bundle src="./app.wasm" />
|
||||
|
4
test_cml/test.cml
Normal file
4
test_cml/test.cml
Normal file
@@ -0,0 +1,4 @@
|
||||
<col>
|
||||
<text>hello from clef</text>
|
||||
<text>this is rendered from test.cml</text>
|
||||
</col>
|
Reference in New Issue
Block a user