Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

slickgrid

Package Overview
Dependencies
Maintainers
3
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slickgrid - npm Package Compare versions

Comparing version 5.5.3 to 5.5.4

2

dist/types/models/formatter.interface.d.ts
import type { Column, FormatterResultWithHtml, FormatterResultWithText } from './index';
import type { SlickGrid } from '../slick.grid';
export declare type Formatter<T = any> = (row: number, cell: number, value: any, columnDef: Column<T>, dataContext: T, grid: SlickGrid) => string | HTMLElement | FormatterResultWithHtml | FormatterResultWithText;
export declare type Formatter<T = any> = (row: number, cell: number, value: any, columnDef: Column<T>, dataContext: T, grid: SlickGrid) => string | HTMLElement | DocumentFragment | FormatterResultWithHtml | FormatterResultWithText;
//# sourceMappingURL=formatter.interface.d.ts.map

@@ -13,3 +13,3 @@ import type SortableInstance from 'sortablejs';

*
* SlickGrid v5.5.3
* SlickGrid v5.5.4
*

@@ -291,3 +291,3 @@ * NOTES:

* Apply HTML code by 3 different ways depending on what is provided as input and what options are enabled.
* 1. value is an HTMLElement, then simply append the HTML to the target element.
* 1. value is an HTMLElement or DocumentFragment, then first empty the target and simply append the HTML to the target element.
* 2. value is string and `enableHtmlRendering` is enabled, then use `target.innerHTML = value;`

@@ -298,3 +298,3 @@ * 3. value is string and `enableHtmlRendering` is disabled, then use `target.textContent = value;`

*/
applyHtmlCode(target: HTMLElement, val: string | HTMLElement | DocumentFragment): void;
applyHtmlCode(target: HTMLElement, val: string | HTMLElement | DocumentFragment, emptyTarget?: boolean): void;
protected initialize(): void;

@@ -621,3 +621,3 @@ protected finishInitialization(): void;

/** Apply a Formatter Result to a Cell DOM Node */
applyFormatResultToCellNode(formatterResult: FormatterResultWithHtml | FormatterResultWithText | string | HTMLElement, cellNode: HTMLDivElement, suppressRemove?: boolean): void;
applyFormatResultToCellNode(formatterResult: FormatterResultWithHtml | FormatterResultWithText | string | HTMLElement | DocumentFragment, cellNode: HTMLDivElement, suppressRemove?: boolean): void;
/**

@@ -624,0 +624,0 @@ * Update a specific cell by its row and column index

{
"name": "slickgrid",
"version": "5.5.3",
"version": "5.5.4",
"description": "A lightning fast JavaScript grid/spreadsheet",

@@ -5,0 +5,0 @@ "main": "./dist/browser/index.js",

import type { Column, FormatterResultWithHtml, FormatterResultWithText } from './index';
import type { SlickGrid } from '../slick.grid';
export declare type Formatter<T = any> = (row: number, cell: number, value: any, columnDef: Column<T>, dataContext: T, grid: SlickGrid) => string | HTMLElement | FormatterResultWithHtml | FormatterResultWithText;
export declare type Formatter<T = any> = (row: number, cell: number, value: any, columnDef: Column<T>, dataContext: T, grid: SlickGrid) => string | HTMLElement | DocumentFragment | FormatterResultWithHtml | FormatterResultWithText;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc