npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

luckysheetvue

v1.6.5

Published

vue 2 wrapper for luckySheet

Downloads

4

Readme

luckysheetVue

LuckySheet Wrapper for vue 2

Features

  • Open Form File
  • Open From Url

Tested in (desktop)

  • Edge
  • Chrome
  • Firefox

Installation

npm i luckysheetvue --save

props

| Prop | Type | Description | | ----------- | ------- | --------------------------- | | url | String | Excel Url | | file | String | Excel File | | lang | String | set Ui Language | | showInfoBar | Boolean | Show/Hide Info Bar | | backUrl | String | Url Address For Back Button |

Method

LuckySheet Method Documents

| Method Name | Description | | -------------------------------- | -------------------------------------------------------------------------------------------------- | | downloadExcel | Download Excel File | | getCellValue | Get the value of the cell | | setCellValue | Set the value of a cell | | clearCell | Clear the contents of the specified cell of the specified worksheet | | deleteCell | Delete the specified cell of the specified worksheet | | setCellFormat | Set the properties of a cell | | find | Find the specified content in a worksheet | | replace | Find the specified content in a worksheet and replace it with new content | | exitEditMode | Exit edit mode. After double-clicking the cell with the mouse, it will enter the cell editing mode | | setHorizontalFrozen | Freeze row operation | | setVerticalFrozen | Freeze column operation | | setBothFrozen | Freeze rank operation | | cancelFrozen | Cancel freeze operation | | insertRow | Insert a blank line in the number line at the position of the row line | | insertColumn | Insert a blank column in column number at the position of column column | | deleteRow | Delete the specified row | | deleteColumn | Delete the specified column | | hideRow | Hide the specified row | | hideColumn | Hide the specified column | | showRow | Show the specified row | | showColumn | Show the specified column | | getRange | Returns an array of current selection objects, there may be multiple selections | | getRangeWithFlatten | Returns an array representing the positions of all cells in the specified area | | getRangeValuesWithFlatte | Returns an array of objects representing the contents of all cells in a specified range | | getRangeAxis | Returns an array of coordinate strings corresponding to the current selection | | getRangeValue | Returns the data of a two-dimensional array of cells in the specified range of | | getRangeJson | Copy the data in the specified cell area and return the data in json format | | getRangeDiagonal | Copy the data in the specified cell area | | getRangeBoolean | Copy the data in the specified cell area | | setRangeShow | Specify selection areas to be selected and choose whether to highlight or not | | setRangeValue | Assign a cell array data to the specified area | | setRangeFormat | Set the cell format of the specified range, generally used as a processing format | | setRangeMerge | Set the merged cells for the worksheet with the specified subscript and the selected range | | cancelRangeMerge | Unmerge cells in the selected range for the worksheet with the specified subscript | | setRangeSort | For the worksheet of the specified subscript | | setRangeSortMulti | For the worksheet of the specified subscript | | setRangeConditionalFormatDefault | Conditional format | | setRangeConditionalFormat | Conditional formatting rule | | deleteRangeConditionalFormat | For the worksheet of the specified subscript | | getAllSheets | Return all worksheet configurations | | getLuckysheetfile | Returns a one-dimensional array luckysheetfile of all table data structures | | setSheetAdd | Add a sheet and return the newly added worksheet object | | setSheetMove | Specify the worksheet to move one position to the left or right, or specify subscript | | showGridLines | Show the grid lines of the specified subscript worksheet | | hideGridLines | Hide the grid lines of the specified subscript worksheet | | setWorkbookName | Set workbook name | | getWorkbookName | get workbook name | | refreshFormula | Force refresh formula | | refreshMenuButtonFocus | Refreshes the top status bar status of the specified cell | | transToCellData | data => celldata, data two-dimensional array data is converted into a one-dimensional array | | toJson | The exported json string can be directly |

Event

LuckySheet Event Documents

| Event Name | Description | | --------------------------- | ------------------------------------------------------------------------------- | | updated | The method executed after each operation is updated | | cellEditBefore | Triggered before entering the cell editing mode | | cellUpdateBefore | Triggered before updating this cell value | | cellUpdated | Triggered after updating this cell | | cellRenderBefore | Triggered before the cell is rendered | | cellRenderAfter | Triggered after the cell rendering ends | | cellAllRenderBefore | The method executed before all cells are rendered | | rowTitleCellRenderBefore | Triggered before the row header cell is rendered | | rowTitleCellRenderAfter | Triggered after the row header cell is rendered | | columnTitleCellRenderBefore | Triggered before the column header cell is rendered | | columnTitleCellRenderAfter | Triggered after the column header cell is rendered | | rangeSelect | Frame selection or trigger after setting selection | | rangeMoveBefore | Before moving the selection | | rangeMoveAfter | After moving the selection | | rangeEditBefore | Before the selection is modified | | rangeEditAfter | After the selection is modified | | rangeCopyBefore | Before copying selection | | rangeCopyAfter | After copying selection | | rangePasteBefore | Before pasting the selection | | rangePasteAfter | After pasting the selection | | rangeCutBefore | Before selection cut | | rangeCutAfter | After selection cut | | rangeDeleteBefore | Before the selection is deleted | | rangeDeleteAfter | After the selection is deleted | | rangeClearBefore | Before the selection is cleared | | rangeClearAfter | After the selection is cleared | | rangePullBefore | Before selection drop down | | rangePullAfter | After selection drop down | | workbookCreateBefore | Triggered before the worksheet is created | | workbookCreateAfter | Triggered after the worksheet is created | | workbookDestroyBefore | Triggered before the workbook is destroyed | | workbookDestroyAfter | Triggered after the workbook is destroyed | | resized | After resize is executed | | imageInsertBefore | Before the picture is inserted | | imageInsertAfter | After the picture is inserted | | imageUpdateBefore | Before the picture is modified | | imageUpdateAfter | After the picture is modified | | imageDeleteBefore | Before the picture is deleted | | imageDeleteAfter | After the picture is deleted | | commentInsertBefore | Before inserting comments | | commentInsertAfter | After inserting comments | | commentDeleteBefore | Before deleting comments | | commentDeleteAfter | After deleting comments | | commentUpdateBefore | Before modifying comments | | commentUpdateAfter | After modifying comments | | pivotTableEditBefore | Before modifying the PivotTable, operations such as dragging fields, etc | | pivotTableEditAfter | After modifying the PivotTable, operations such as dragging fields, etc | | frozenCreateBefore | Before setting freeze | | frozenCreateAfter | After setting freeze | | frozenCancelBefore | Before unfreezing | | frozenCancelAfter | After unfreezing | | onTogglePager | Click the page button to call back the function, return the current page number |

Usage

import LuckySheet from "luckysheetVue";
<lucky-sheet
  url=""
  show-info-bar
  backUrl="/"
  lang="en"
  @updated="onUpdateData"
/>

More information

LuckySheet Documents