Skip to content

Commit

Permalink
Deploy Blazor app to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 24, 2024
0 parents commit 90e6eff
Show file tree
Hide file tree
Showing 767 changed files with 110,731 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
2 changes: 2 additions & 0 deletions LaunchApp.styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import '_content/Masa.Blazor/Masa.Blazor.bundle.scp.css';

11 changes: 11 additions & 0 deletions _content/LumexUI/js/LumexUI.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) LumexUI 2024
// LumexUI licenses this file to you under the MIT license
// See the license here https://github.com/LumexUI/lumexui/blob/main/LICENSE

import { elementReference } from './elementReference.js'

export const Lumex = {
elementReference
};

window['Lumex'] = Lumex
21 changes: 21 additions & 0 deletions _content/LumexUI/js/components/input.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright (c) LumexUI 2024
// LumexUI licenses this file to you under the MIT license
// See the license here https://github.com/LumexUI/lumexui/blob/main/LICENSE

function getValidationMessage(element) {
if (!(element instanceof HTMLElement)) {
throw new Error('The provided element is not a valid HTMLElement.');
}

if (element instanceof HTMLInputElement ||
element instanceof HTMLTextAreaElement ||
element instanceof HTMLSelectElement) {
return element.validationMessage;
} else {
throw new Error('The provided element does not support validation.');
}
}

export const input = {
getValidationMessage
}
Loading

0 comments on commit 90e6eff

Please sign in to comment.