ts-syntactic-sugar-chaining.md 319 字节
Newer Older
Z
zengyawen 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
# Chaining<a name="EN-US_TOPIC_0000001110788988"></a>

You can configure the UI structure and its attributes and events using method chaining: calling the methods by separating them with a \(dot.\)

```
Column() {
    Image('1.jpg')
        .alt('error.jpg')
        .width(100)
        .height(100)
}.padding(10)
```