Turn HTML into DOM elements x-browser.

Overview

element

dependency status

browser support

Turn HTML into DOM elements x-browser.

Hello

World

") // => Hello World (as document fragment) element("

Hello World

") // => Hello World (as element)">
var element = require("element")

element("

Hello

World

"
) // => Hello World (as document fragment) element("

Hello World

"
) // => Hello World (as element)

Installation

npm install element

Contributors

  • TJ Holowaychuk
  • Shyltman
  • Raynos

MIT Licensed

You might also like...
PostCSS syntax for parsing HTML (and HTML-like)

PostCSS HTML Syntax PostCSS syntax for parsing HTML (and HTML-like) Vue Single-File Components Svelte Components Astro Components PHP Quick App XSLT G

A vue directive to keep dom ratio

vue-keep-ratio [中文项目介绍] As there comes a new css attribute: aspect-ratio, I picked up my old work vue-keep-ratio, use a more adaptive (but hack) way t

Vue component to trap the focus within a DOM element

focus-trap-vue Vue component to trap the focus within a DOM element Installation For Vue 2 npm install focus-trap focus-trap-vue For Vue 3 npm install

A directive-supported plugin for transfering DOM to another location in Vue.js components

A directive-supported plugin for transfering DOM to another location in Vue.js components

Detect DOM element resizing based on Vue3.x

Detect DOM element resizing based on Vue3.x

A component to render defined aspect ratio elements
A component to render defined aspect ratio elements

vue-aspect-ratio A component to render a certain aspect ratio element without javascript computations. It exposes a default slot that will have the de

🖱 An animated custom cursor effects for interactive elements like navigation - w/ VueJS - SSR Compatible
🖱 An animated custom cursor effects for interactive elements like navigation - w/ VueJS - SSR Compatible

🎉 Vue Cursor Fx An animated custom cursor effects for interactive elements like navigation - w/ VueJS - SSR Compatible Installation This package is a

Vue.js 2.x directive to set a default value for editable elements with no affect to the model state

vue-default-value A Vue.js Directive to set a default value for editable elements with no affect to the model state. Installation Via NPM Install the

Vue plugin to match the height of elements

vue-match-heights Quick and easy method of setting element heights to be the same. You can provide an array of selectors that will be calculated in se

Owner
null
start using Sheets2API to turn their spreadsheets into powerful APIs to rapidly develop prototypes, websites, apps

... turns your spreadsheet into a Restful JSON API, meaning you can get data in and out of your spreadsheet using simple HTTP requests and URLs.

Aakrit Subedi 10 Dec 7, 2022
A Vue.js 2 component to clone DOM elements

vue-cloneya A vue component to clone DOM elements Live demo here Install yarn add vue-cloneya # or npm i vue-cloneya Import import Vue from 'vue'

Rida Amirini 15 Aug 27, 2022
An escape hatch for DOM Elements in Vue.js components.

vue-dom-portal An escape hatch for DOM Elements in Vue.js components. The directive v-dom-portal will move DOM Nodes from their current place in a Vue

Caleb Roseland 202 Nov 2, 2022
BEM is a great way to namespace DOM elements

Vue BEM Plugin BEM is a great way to namespace DOM elements. If you're like me, however, you can't stand manually writing __ and -- over and over agai

Mike Schutte 0 Apr 6, 2019
Enable tap, swipe, touch, hold, mouse down, mouse up events on any HTML DOM Element in vue.js 3.x.

vue3-touch-events Enable tap, swipe, touch, hold, mouse down, mouse up events on any HTML DOM Element in vue.js 3.x. The easiest way to make your inte

Robin Rodricks 108 Dec 27, 2022
Convert HTML DOM Element to PDF

Convert HTML DOM Element to PDF. You can save a specified element as PDF File, print it directly, or preview as PDF.

Emily Wang 0 Jul 29, 2019
⌨️ A Safari browser extension, use keyboard control browser jumps, scrolling, switching tabs and more. support iPadOS and macOS

⌨️ A Safari browser extension, use keyboard control browser jumps, scrolling, switching tabs and more. support iPadOS and macOS

Haojen 84 Dec 26, 2022
MKTemplate is Free and Open Source. It features multiple HTML and VueJS elements and it comes with dynamic components for VueJS

MKTemplate A beautiful UI . Start your Web Site with this bootstrap and VueJS UI . MKTemplate is Free and Open Source. It features multiple HTML and V

Moutawakkil Mohammed 10 May 31, 2022
Directive to be able to attach events through other events on HTML elements in VueJS

vue-attach-event Directive to be able to attach events through other events on HTML elements in VueJS Install NPM: npm i --save vue-attach-event Requi

Aarón J. Montes 0 Jul 8, 2021
Resize the font-size in rem units so that the text fits into the html element.

v-fit2box directive for Vue3 Resize the font-size in rem units so that the text fits into the html element. In other words the font size is smaller fo

null 1 Jan 19, 2022