Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sd-doc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Skripnikov
sd-doc
Commits
a939e856
Commit
a939e856
authored
Sep 27, 2017
by
Valentin Skripnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-
parent
bb364599
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
+51
-0
docs/forms/cmp/index.rst
docs/forms/cmp/index.rst
+1
-0
docs/forms/cmp/textbox.rst
docs/forms/cmp/textbox.rst
+50
-0
No files found.
docs/forms/cmp/index.rst
View file @
a939e856
...
@@ -8,3 +8,4 @@
...
@@ -8,3 +8,4 @@
base
base
table
table
label
label
textbox
docs/forms/cmp/textbox.rst
0 → 100644
View file @
a939e856
«Однострочное поле»
-------------------
.. js:class:: AS.FORMS.TextBoxView
Отображение компонента, наследует :js:class:`AS.FORMS.View`
.. code-block:: js
{
"id": "textbox-cmp", // идентификатор компонента
"type": "textbox", // тип компонента
"style": { // стиль компонента
"align": "center",
"font": "Courier New",
"fontsize": "12",
"bold": true,
"italic": false,
"underline": false,
"strike": false,
"height": "20",
"width": "200"
},
"config": { // конфигурация компонента
"read-only": true, // заблокировать от изменений пользователем
"script": "model.setValue('Ерлан');" // скрипт компонента
},
"fromHistory": true, // ???
"fullId": "textbox-cmp", // ???
"required": true, // обязательное поле
"data": { // дефолтные данные компонента
"id": "textbox-cmp",
"type": "textbox",
"value": "Дефолтное значение"
}
}
--------------------------------------------------------------------------------
.. js:class:: AS.FORMS.TextBoxModel
Модель компонента, наследует :js:class:`AS.FORMS.Model`
.. code-block:: js
{
"id":"textbox-cmp",
"type":"textbox",
"label":"Ерлан"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment