Skip to content

Instantly share code, notes, and snippets.

View mbdavid's full-sized avatar

Mauricio David mbdavid

  • Porto Alegre / Brazil
View GitHub Profile
@rmack005
rmack005 / ModernButton.cs
Created April 27, 2011 16:35 — forked from alassek/ModernButton.cs
ASP.Net Button control that renders with Button tag instead of input
using System;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Linq;
namespace Public.Html.Controls
{
public enum ButtonType
{
@kesor
kesor / component-app.js
Last active April 23, 2024 15:18
Vue.js 3.x with ES6 modules in the browser using import-map
import { defineAsyncComponent } from 'vue'
const Content = defineAsyncComponent(() => import('./component-content.js'))
export default {
name: 'App',
components: { Content },
template: /*html*/`
<Content />
`