mirror of
https://github.com/konvajs/konva.git
synced 2025-12-04 19:08:24 +08:00
updated docs
This commit is contained in:
@@ -54,8 +54,8 @@ Kinetic.Container.prototype = {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* use for selectors. select nodes by id with # and by name
|
||||
* with .
|
||||
* return an array of nodes that match the selector. Use '#' for id selections
|
||||
* and '.' for name selections
|
||||
* ex:
|
||||
* var node = stage.get('#foo'); // selects node with id foo
|
||||
* var nodes = layer.get('.bar'); // selects nodes with name bar inside layer
|
||||
|
||||
Reference in New Issue
Block a user