| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 043cbf3 commit d0bbd85
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,6 +24,7 @@ import { | |||
| 24 | 24 | import { createViewFromEntry } from "../../builder"; | |
| 25 | 25 | import { StyleScope } from "../../styling/style-scope"; | |
| 26 | 26 | import { LinearGradient } from "../../styling/linear-gradient"; | |
| 27 | + import { BackgroundRepeat } from "../../styling/style-properties"; | ||
| 27 | 28 | ||
| 28 | 29 | export * from "../../styling/style-properties"; | |
| 29 | 30 | export * from "../view-base"; | |
@@ -472,6 +473,27 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition { | |||
| 472 | 473 | this.style.backgroundImage = value; | |
| 473 | 474 | } | |
| 474 | 475 | ||
| 476 | + get backgroundSize(): string { | ||
| 477 | + return this.style.backgroundSize; | ||
| 478 | + } | ||
| 479 | + set backgroundSize(value: string) { | ||
| 480 | + this.style.backgroundSize = value; | ||
| 481 | + } | ||
| 482 | + | ||
| 483 | + get backgroundPosition(): string { | ||
| 484 | + return this.style.backgroundPosition; | ||
| 485 | + } | ||
| 486 | + set backgroundPosition(value: string) { | ||
| 487 | + this.style.backgroundPosition = value; | ||
| 488 | + } | ||
| 489 | + | ||
| 490 | + get backgroundRepeat(): BackgroundRepeat { | ||
| 491 | + return this.style.backgroundRepeat; | ||
| 492 | + } | ||
| 493 | + set backgroundRepeat(value: BackgroundRepeat) { | ||
| 494 | + this.style.backgroundRepeat = value; | ||
| 495 | + } | ||
| 496 | + | ||
| 475 | 497 | get minWidth(): Length { | |
| 476 | 498 | return this.style.minWidth; | |
| 477 | 499 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments