Skip to content

Commit

Permalink
Add jsdoc to modifier keys (#3373)
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Oct 27, 2016
1 parent 60442b8 commit 214f6c3
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/canvas.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@

/**
* Indicates which key enable unproportional scaling
* values: altKey, shiftKey, ctrlKey
* values: 'altKey', 'shiftKey', 'ctrlKey'.
* If `null` or 'none' or any other string that is not a modifier key
* feature is disabled feature disabled.
* @since 1.6.2
* @type String
* @default
Expand All @@ -87,7 +89,9 @@

/**
* Indicates which key enable centered Transfrom
* values: altKey, shiftKey, ctrlKey
* values: 'altKey', 'shiftKey', 'ctrlKey'.
* If `null` or 'none' or any other string that is not a modifier key
* feature is disabled feature disabled.
* @since 1.6.2
* @type String
* @default
Expand All @@ -96,7 +100,9 @@

/**
* Indicates which key enable alternate action on corner
* values: altKey, shiftKey, ctrlKey
* values: 'altKey', 'shiftKey', 'ctrlKey'.
* If `null` or 'none' or any other string that is not a modifier key
* feature is disabled feature disabled.
* @since 1.6.2
* @type String
* @default
Expand All @@ -119,7 +125,9 @@

/**
* Indicates which key enable multiple click selection
* values: altKey, shiftKey, ctrlKey, cmdKey
* values: 'altKey', 'shiftKey', 'ctrlKey'.
* If `null` or 'none' or any other string that is not a modifier key
* feature is disabled feature disabled.
* @since 1.6.2
* @type String
* @default
Expand All @@ -129,7 +137,9 @@
/**
* Indicates which key enable alternative selection
* in case of target overlapping with active object
* values: altKey, shiftKey, ctrlKey, cmdKey
* values: 'altKey', 'shiftKey', 'ctrlKey'.
* If `null` or 'none' or any other string that is not a modifier key
* feature is disabled feature disabled.
* @since 1.6.5
* @type null|String
* @default
Expand Down

0 comments on commit 214f6c3

Please sign in to comment.