Skip to content

Instantly share code, notes, and snippets.

View muthu32's full-sized avatar

Muthu Kumar muthu32

  • Selvam Softech
  • TamilNadu
View GitHub Profile
@muthu32
muthu32 / btpopper.css
Created December 11, 2019 11:46
Popper.css
/* 8,9 */
.btpopper {
border: 1px solid #8baef5;
}
.btpopper .popper__arrow::after {
content: " ";
}
.btpopper .popper__arrow,.btpopper .popper__arrow::after {
border-width: 0 .5rem .5rem .5rem;
@muthu32
muthu32 / popper.js
Created December 11, 2019 00:36
Popper safari 5.1 supported
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.13.0
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@muthu32
muthu32 / element-ui.css
Last active December 11, 2019 06:34
Element-ui Custom
/*
changes
------
* form bottom margin is reduced to 10px
* Dialog padding reduced to 10px
* Dialog header & footer background is updated to #eee.
*/
@charset "UTF-8";.el-pagination--small .arrow.disabled,.el-table .hidden-columns,.el-table td.is-hidden>*,.el-table th.is-hidden>*,.el-table--hidden {
visibility: hidden
}
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
;(function() {
{"js":{"code":"/*!\n * vue-textarea-autosize v1.1.1 \n * (c) 2019 Saymon\n * Released under the MIT License.\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = global || self, global.VueTextareaAutosize = factory());\n}(this, function () { 'use strict';\n\n //\n //\n //\n //\n //\n //\n //\n var script = {\n name: 'TextareaAutosize',\n props: {\n value: {\n type: [String, Number],\n default: ''\n },\n autosize: {\n type: Boolean,\n default: true\n },\n minHeight: {\n type: [Number],\n 'default': null\n },\n maxHeight: {\n type: [Number],\n 'default': null\n },\n\n /*\n * Force !important for style properties\n */\n important: {\n type: [Boolean, Array],\n default: false\n }\n },\n data: function dat
@muthu32
muthu32 / prosemirror.js
Created August 31, 2019 12:00
Prosemirror iife compiled
var prosemirror=function(e){'use strict';var d=String.fromCharCode,p=Math.floor,s=Math.max,l=Math.min;function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function o(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e){this.content=e}function r(e){var t=ye&&(e.ctrlKey||e.altKey||e.metaKey)||fe&&e.shiftKey&&e.key&&1==e.key.length,o=!t&&e.key||(e.shiftKey?he:ce)[e.keyCode]||e.key||"Unidentified";return"Esc"==o&&(o="Escape"),"Del"==o&&(o="Delete"),"Left"==o&&(o="ArrowLeft"),"Up"==o&&(o="ArrowUp"),"Right"==o&&(o="ArrowRight"),"Down"==o&&(o="ArrowDown"),o}n.prototype={constructor:n,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,o){var r=o&&o!=e?this.remove(o):this,d=r.find(e),i=r.content.slice();return-1==d?i.push(o||e,t):(i[d+1]=t,o&&(i[d]=o)),new n(i)},remove:function(e){var t=this.find(e);if(-1==t)return thi
@muthu32
muthu32 / cloudSettings
Last active July 19, 2019 11:27
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-07-11T10:24:38.502Z","extensionVersion":"v3.3.1"}
@muthu32
muthu32 / index.html
Created July 10, 2019 11:50
Vue TinyMce v5 in V-for two way editable
<div id="example">
<div class="heading">
<h1>TinyMCE v5 & Vue.js v2</h1>
<h4>An example of TinyMCE editor working in Vue.js with v-for and two way editable.</h4>
</div>
<input type="button" value="Remove Editor" @click="remove" class="btn btn-xs btn-danger" />
<input type="button" value="Add Editor" @click="add" class="btn btn-xs btn-success" />
<div v-for="(col,index) in cols">
<div class="heading"><h1>V-for Tinymce {{index}}:</h1></div>
@muthu32
muthu32 / vue.tsx
Created May 23, 2019 11:25
Vue typescript
interface Props {
tmp: string
alpha?: boolean
}
interface Events {
click: string
something: boolean
a: number
b: void