forked from mbk-lab/rui_orig
Updated readme
This commit is contained in:
parent
3c3271663d
commit
3993dbad20
|
@ -1,7 +1,7 @@
|
||||||
# v.11.0
|
# v.11.0
|
||||||
|
|
||||||
* Added "order", "background-blend-mode", and "mix-blend-mode" properties
|
* Added "tabindex", "order", "background-blend-mode", and "mix-blend-mode" properties
|
||||||
* Added GetOrder, GetBackgroundBlendMode, and GetMixBlendMode functions
|
* Added GetTabIndex, GetOrder, GetBackgroundBlendMode, and GetMixBlendMode functions
|
||||||
* ClientItem, SetClientItem, and RemoveAllClientItems method added to Session interface
|
* ClientItem, SetClientItem, and RemoveAllClientItems method added to Session interface
|
||||||
* PropertyWithTag method of DataObject interface renamed to PropertyByTag
|
* PropertyWithTag method of DataObject interface renamed to PropertyByTag
|
||||||
|
|
||||||
|
|
16
README-ru.md
16
README-ru.md
|
@ -1327,6 +1327,22 @@ radius необходимо передать nil
|
||||||
|
|
||||||
func GetOpacity(view View, subviewID ...string) float64
|
func GetOpacity(view View, subviewID ...string) float64
|
||||||
|
|
||||||
|
### Свойство "tabindex"
|
||||||
|
|
||||||
|
Свойство "tabindex" (константа TabIndex) типа int определяет должен ли данный View участвовать в последовательной
|
||||||
|
навигации по всей странице с помощью клавиатуры и в каком порядке. Может принимать одно из следующих видов значений:
|
||||||
|
|
||||||
|
* отрицательное значение – View может быть выделен с помощью мыши или прикосновения, однако не участвует в последовательной навигации;
|
||||||
|
|
||||||
|
* 0 – View может быть выделен и достигнут с помощью последовательной навигации, порядок навигации определён браузером (обычно в порядке добавления);
|
||||||
|
|
||||||
|
* положительное значение – элемент будет достигнут (и выделен) с помощью последовательной навигации, а навигация осуществляется по возрастанию значения "tabindex".
|
||||||
|
В случае, если несколько элементов содержат одно и то же значение "tabindex", то навигации осуществляется в порядке их добавления.
|
||||||
|
|
||||||
|
Получить значение данного свойства можно с помощью функции
|
||||||
|
|
||||||
|
func GetTabIndex(view View, subviewID ...string) int
|
||||||
|
|
||||||
### Свойство "z-index"
|
### Свойство "z-index"
|
||||||
|
|
||||||
Свойство "z-index" (константа ZIndex) типа int определяет положение элемента и нижестоящих элементов по оси z.
|
Свойство "z-index" (константа ZIndex) типа int определяет положение элемента и нижестоящих элементов по оси z.
|
||||||
|
|
18
README.md
18
README.md
|
@ -1298,13 +1298,29 @@ The textual description of the polygonal cropping area is in the following forma
|
||||||
|
|
||||||
### "opacity" property
|
### "opacity" property
|
||||||
|
|
||||||
The "opacity" property (constant Opacity) of the float64 type sets the transparency of the View. Valid values are from 0 to 1.
|
The "opacity" property (Opacity constant) of the float64 type sets the transparency of the View. Valid values are from 0 to 1.
|
||||||
Where 1 - View is fully opaque, 0 - fully transparent.
|
Where 1 - View is fully opaque, 0 - fully transparent.
|
||||||
|
|
||||||
You can get the value of this property using the function
|
You can get the value of this property using the function
|
||||||
|
|
||||||
func GetOpacity(view View, subviewID ...string) float64
|
func GetOpacity(view View, subviewID ...string) float64
|
||||||
|
|
||||||
|
### "tabindex" property
|
||||||
|
|
||||||
|
The "tabindex" int property (TabIndex constant) determines whether this View should participate in sequential navigation
|
||||||
|
throughout the page using the keyboard and in what order. It can take one of the following types of values:
|
||||||
|
|
||||||
|
* negative value - View can be selected with the mouse or touch, but does not participate in sequential navigation;
|
||||||
|
|
||||||
|
* 0 - View can be selected and reached using sequential navigation, the order of navigation is determined by the browser (usually in order of addition);
|
||||||
|
|
||||||
|
* positive value - the element will be reached (and selected) using sequential navigation, and navigation is performed by ascending "tabindex" value.
|
||||||
|
If multiple elements contain the same "tabindex" value, navigation is done in the order in which they were added.
|
||||||
|
|
||||||
|
You can get the value of this property using the function
|
||||||
|
|
||||||
|
func GetTabIndex(viewView, subviewID ...string) int
|
||||||
|
|
||||||
### "z-index" property
|
### "z-index" property
|
||||||
|
|
||||||
The "z-index" property (constant ZIndex) of type int defines the position of the element and its children along the z-axis.
|
The "z-index" property (constant ZIndex) of type int defines the position of the element and its children along the z-axis.
|
||||||
|
|
Loading…
Reference in New Issue