📝 Convert ScrollView docs

This commit is contained in:
Kevin Sawicki 2014-08-20 12:59:41 -06:00 committed by Ben Ogle
parent 59bf16fed3
commit ee4c7e996f

View File

@ -6,17 +6,26 @@
# the following events won't be handled by the ScrollView.
#
# ## Events
# * `core:move-up`
# * `core:move-down`
# * `core:page-up`
# * `core:page-down`
# * `core:move-to-top`
# * `core:move-to-bottom`
# * `core:move-up` Scrolls the view up
# * `core:move-down` Scrolls the view down
# * `core:page-up` Scrolls the view up by the height of the page
# * `core:page-down` Scrolls the view down by the height of the page
# * `core:move-to-top` Scrolls the editor to the top
# * `core:move-to-bottom` Scroll the editor to the bottom
#
# ## Requiring in packages
# ## Examples
#
# ```coffee
# {ScrollView} = require 'atom'
# {ScrollView} = require 'atom'
#
# class MyView extends ScrollView
# @content: ->
# @div()
#
# initialize: ->
# super
#
# @text('super long content that will scroll')
# ```
module.exports =
class ScrollView extends View