scroll.copy()

Copies a ScrollComponent, including its content and properties.
译:复制一个scrollcomponent,包括其内容和属性。

scroll = new ScrollComponent

layerA = new Layer
    parent: scroll.content

# Copy the ScrollComponent 
scrollB = scroll.copy()

results matching ""

    No results matching ""