Skip to main content

3 posts tagged with "Javscript"

Javscript tag description

View All Tags

Tiptap Practise

· 2 min read
marvin-season
Maintainer of Docusaurus

Core Concept

  • Editor: The main editor component
    • Node: A piece of content in the editor
    • Mark: A piece of text formatting
    • Extension: A piece of functionality
  • Schema: The structure of the document
  • Commands: Functions to manipulate the editor
  • Plugins: Extend the editor with custom functionality
  • State: The current state of the editor

Functional Programming

· 2 min read
marvin-season
Maintainer of Docusaurus

Currying

Currying is a technique of converting a function that takes multiple arguments into a series of functions that each take a single argument.

In short: Using the characteristics of higher-order functions, the function is partially called according to the parameters.

Vue-grid-layout

· 2 min read
marvin-season
Maintainer of Docusaurus

Business Scenario

Users can perform operations such as dragging and resizing the content on the page to customize the layout of the page.

demo

What is Vue-Grid-Layout?

Vue-Grid-Layout is a drag-and-drop layout component that can meet the above requirements. It is a secondary development based on Gridster, supporting drag-and-drop, scaling, responsive layout, etc.