This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathcreate-card.lcdoc
More file actions
61 lines (42 loc) · 1.6 KB
/
create-card.lcdoc
File metadata and controls
61 lines (42 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Name: create card
Synonyms: new card
Type: command
Syntax: create card [<cardName>] [in stack <stack>]
Summary:
Makes a new <card> with the same <background> (s) as the <current card>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
create card
Example:
create card "Main"
Example:
create card (field "output")
Example:
create card "Main" in stack "Stack"
Parameters:
cardName:
The name property of the new card. If you don't specify a cardName, the
new card's name is empty.
stack:
A reference or and expression that evaluates to a reference to a
stack. If you specify a stack, the card will be a member of that
stack, otherwise it will be a member of the <defaultStack>.
It:
The <create card> <command> places the <ID> <property> of the newly
created <card> in the <it> <variable>.
Description:
Use the <create card> <command> to add a new <card> to the
<current stack>.
The new card is placed after the current card. If <stackName>
is specified, it will be placed in <stackName>, otherwise
in the <defaultStack>. When the <card> is created, you go to the new <card>.
Any groups on the current card whose backgroundBehavior is set to true
will be placed on the newly-created <card> automatically.
References: clone (command), create (command), place (command),
create stack (command), property (glossary), current card (glossary),
background (glossary), current stack (glossary), variable (glossary),
command (glossary), card (keyword), templateCard (keyword), it (keyword),
newCard (message), stack (object), ID (property), defaultStack (property)
Tags: objects