StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
695 B
31 lines
695 B
/**
|
|
* @module modifiers/snapEdges
|
|
*
|
|
* @description
|
|
* This module allows snapping of the edges of targets during resize
|
|
* interactions.
|
|
*
|
|
* @example
|
|
* interact(target).resizable({
|
|
* snapEdges: {
|
|
* targets: [interact.snappers.grid({ x: 100, y: 50 })],
|
|
* },
|
|
* })
|
|
*
|
|
* interact(target).resizable({
|
|
* snapEdges: {
|
|
* targets: [
|
|
* interact.snappers.grid({
|
|
* top: 50,
|
|
* left: 50,
|
|
* bottom: 100,
|
|
* right: 100,
|
|
* }),
|
|
* ],
|
|
* },
|
|
* })
|
|
*/
|
|
import { ModifierModule } from '../base';
|
|
import { SnapOptions, SnapState } from './pointer';
|
|
declare const snapEdges: ModifierModule<SnapOptions, SnapState>;
|
|
export default snapEdges;
|
|
|