Skip to content

Commit

Permalink
feat(chord diagram): introduce orientation setting to rotate the diagram
Browse files Browse the repository at this point in the history
re #56
  • Loading branch information
omnibrain committed Jan 15, 2022
1 parent 6452620 commit 7b69099
Show file tree
Hide file tree
Showing 7 changed files with 647 additions and 287 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ new SVGuitarChord('#some-selector')
.configure({
// Customizations (all optional, defaults shown)

/**
* Orientation of the chord diagram. Chose between 'vertical' or 'horizontal'
*/
orientation: 'vertical',

/**
* Select between 'normal' and 'handdrawn'
*/
Expand All @@ -135,6 +140,7 @@ new SVGuitarChord('#some-selector')
* The number of frets
*/
frets: 4,

/**
* Default position if no positon is provided (first fret is 1)
*/
Expand Down
Loading

0 comments on commit 7b69099

Please sign in to comment.