Flag~Flag

Methods

close()

Closes the Flag.

Example

1
2
3
4
5
6
7
8
9
// Display a nice green flag using the Flags JavaScript API.
var flag = AP.flag.create({
  title: 'Successfully created a flag.',
  body: 'This is a flag.',
  type: 'info'
});

// Close the flag.
flag.close()