scroll.scroll < boolean>

Enable or disable scrolling. Enabled by default. If you set this to false, it will set both scrollVertical and scrollHorizontal to false.
译:启用或禁用滚动。默认启用。如果设置为false(禁用),则设置scrollvertical和scrollhorizontal禁用。

scroll = new ScrollComponent

layerA = new Layer
    parent: scroll.content

scroll.scroll = false

results matching ""

    No results matching ""