-
Notifications
You must be signed in to change notification settings - Fork 2
Content
Crutiatix edited this page Apr 10, 2017
·
10 revisions
Table containing attributes defining a attributes of content drawn inside of element.
- Attribute of:
- Attributes:
- w = [number] (element.w) - virtual width of content. Important when scrolling.
- h = [number] (element.h) - virtual width of content. Important when scrolling.
- wrap = [bool] (false) - if true then clip content by borders of element
-
scroll = [table] ({x=0,y=0})- define initial scroll of content
- x = [number] (0) - Number 0 - 1 defining content scroll. 0 is at left, 1 at right.
- y = [number] (0) - Number 0 - 1 defining content scroll. 0 is at top, 1 at bottom.