Skip to content

Commit

Permalink
doc: add usage of e.guide.clearGuideElement()
Browse files Browse the repository at this point in the history
  • Loading branch information
유동식 committed Jun 15, 2018
1 parent 58d06f3 commit fc37263
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/getting-started.md
Expand Up @@ -360,6 +360,11 @@ cal.on({
'beforeCreateSchedule': function(e) {
console.log('beforeCreateSchedule', e);
// open a creation popup

// If you dont' want to show any popup, just use `e.guide.clearGuideElement()`

// then close guide element(blue box from dragging or clicking days)
e.guide.clearGuideElement();
},
'beforeUpdateSchedule': function(e) {
console.log('beforeUpdateSchedule', e);
Expand Down

0 comments on commit fc37263

Please sign in to comment.