Represents a cursor object.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.view.Cursor
See Also
Constructors
Initializes a new Cursor instance using the provided url and an alternative.
Parameters
A map of options to pass to the method.
- url - string
- The url should point to a file in the ".cur" format with a size of at most 32x32 pixels to ensure compatibility across browsers.
- alternative - Cursor
- Cursors can be chained but the last alternative needs to be one of the predefined cursors.
Methods
Constants
Gets the cursor to be shown when an alias or shortcut can be created.
Remarks
alias
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor indicating that something can be scrolled or panned.
Remarks
all-scroll
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor where the browser determines the actual cursor to be displayed.
Remarks
auto
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor to indicate selection of a table cell..
Remarks
cell
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor for resizing columns.
Remarks
col-resize
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor to indicate that there is a context menu available.
Remarks
context-menu
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor to be shown when something can be copied (often used for drag & drop).
Remarks
copy
CSS cursor. This is how it appears in your browser (hover to see): Gets the crosshair cursor.
Remarks
crosshair
CSS cursor. This is how it appears in your browser (hover to see): Gets the default cursor.
Remarks
default
CSS cursor. This is how it appears in your browser (hover to see): Gets a cursor that indicates that an edge at the east will be moved.
Remarks
Depending on the browser this might just be a horizontal resize cursor.
This corresponds to the e-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets the horizontal resize cursor.
Remarks
ew-resize
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor that indicates that help is available for the object under the cursor.
Remarks
help
CSS cursor. This is how it appears in your browser (hover to see): Gets the move cursor.
Remarks
move
CSS cursor. This is how it appears in your browser (hover to see): Gets a cursor that indicates that an edge at the north will be moved.
Remarks
Depending on the browser this might just be a vertical resize cursor.
This corresponds to the n-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets a cursor that indicates that edges at the north and east will be moved.
Remarks
Depending on the browser this might just be the diagonal resize cursor for NE to SW resizes.
This corresponds to the ne-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets the diagonal resize cursor for NE to SW resizes.
Remarks
nesw-resize
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor to be shown where nothing can be dropped in a drag & drop operation.
Remarks
no-drop
CSS cursor. This is how it appears in your browser (hover to see): Gets the invisible cursor.
Remarks
none
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor to be shown when an action cannot be done.
Remarks
not-allowed
CSS cursor. This is how it appears in your browser (hover to see): Gets the vertical resize cursor.
Remarks
ns-resize
CSS cursor. This is how it appears in your browser (hover to see): Gets a cursor that indicates that edges at the north and west will be moved.
Remarks
Depending on the browser this might just be the diagonal resize cursor for NW to SE resizes.
This corresponds to the nw-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets the diagonal resize cursor for NW to SE resizes.
Remarks
nwse-resize
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor with a pointing hand, as used for example on a hyperlink.
Remarks
pointer
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor that indicates progress.
Remarks
progress
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor for resizing rows.
Remarks
row-resize
CSS cursor. This is how it appears in your browser (hover to see): Gets a cursor that indicates that the edge at the south will be moved.
Remarks
Depending on the browser this might just be a vertical resize cursor.
This corresponds to the s-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets a cursor that indicates that edges at the south and east will be moved.
Remarks
Depending on the browser this might just be the diagonal resize cursor for NW to SE resizes.
This corresponds to the se-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets a cursor that indicates that edges at the south and west will be moved.
Remarks
Depending on the browser this might just be the diagonal resize cursor for NE to SW resizes.
This corresponds to the sw-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets the text selection cursor.
Remarks
text
CSS cursor. This is how it appears in your browser (hover to see): Gets the vertical text selection cursor.
Remarks
vertical-text
CSS cursor. This is how it appears in your browser (hover to see): Gets a cursor that indicates that the edge at the west will be moved.
Remarks
Depending on the browser this might just be a horizontal resize cursor.
This corresponds to the w-resize
CSS cursor. This is how it appears in your browser (hover to see):
Gets the wait cursor.
Remarks
wait
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor for zooming in.
Remarks
zoom-in
CSS cursor. This is how it appears in your browser (hover to see): Gets the cursor for zooming out.
Remarks
zoom-out
CSS cursor. This is how it appears in your browser (hover to see):