mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add confirm dialog (#226)
This commit is contained in:
1 parent
8b9a3c6410
commit
c696f51789
15 files changed
+46
-32
No files matched your search
@@ -13,6 +13,14 @@ export default function tpl(pieces, ...substitutions) {
|
||||
return result;
|
||||
}
|
||||
|
||||
tpl.typoMsg = function (msg) {
|
||||
return tpl`
|
||||
<div class="typo">
|
||||
<p>${msg}</p>
|
||||
</div>
|
||||
`;
|
||||
};
|
||||
|
||||
export function rawHtml(html) {
|
||||
return {
|
||||
templateRaw: true,
|
||||
|
||||
Reference in new issue
Block a user