Skip to content

Commit b6fcdbd

Browse files
author
Jerry Lopez
authored
Document attribute snippets
1 parent 84bd2af commit b6fcdbd

File tree

1 file changed

+151
-0
lines changed

1 file changed

+151
-0
lines changed

README.md

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,21 +167,172 @@ A nice start to a collection of Magento 2 code snippets for Visual Studio Code!
167167
## Attributes
168168

169169
### Translate
170+
171+
**Trigger:** `m2.layout.attr.translate`
172+
173+
**Output:**
174+
```xml
175+
translate=""
176+
```
177+
170178
### xsi:type
179+
180+
**Trigger:** `m2.layout.attr.xsi:type`
181+
182+
**Output:**
183+
```xml
184+
xsi:type=""
185+
```
186+
171187
### Handle
188+
189+
**Trigger:** `m2.layout.attr.handle`
190+
191+
**Output:**
192+
```xml
193+
handle=""
194+
```
195+
172196
### Destination
197+
198+
**Trigger:** `m2.layout.attr.destination`
199+
200+
**Output:**
201+
```xml
202+
destination=""
203+
```
204+
173205
### Element
206+
207+
**Trigger:** `m2.layout.attr.element`
208+
209+
**Output:**
210+
```xml
211+
element=""
212+
```
213+
174214
### htmlId
215+
216+
**Trigger:** `m2.layout.attr.htmlId`
217+
218+
**Output:**
219+
```xml
220+
htmlId=""
221+
```
222+
175223
### htmlClass
224+
225+
**Trigger:** `m2.layout.attr.htmlClass`
226+
227+
**Output:**
228+
```xml
229+
htmlClass=""
230+
```
231+
176232
### htmlTag
233+
234+
**Trigger:** `m2.layout.attr.htmlTag`
235+
236+
**Output:**
237+
```xml
238+
htmlTag=""
239+
```
240+
177241
### Output
242+
243+
**Trigger:** `m2.layout.attr.output`
244+
245+
**Output:**
246+
```xml
247+
output=""
248+
```
249+
178250
### Label
251+
252+
**Trigger:** `m2.layout.attr.label`
253+
254+
**Output:**
255+
```xml
256+
label=""
257+
```
258+
179259
### As
260+
261+
**Trigger:** `m2.layout.attr.as`
262+
263+
**Output:**
264+
```xml
265+
as=""
266+
```
267+
180268
### Template
269+
270+
**Trigger:** `m2.layout.attr.template`
271+
272+
**Output:**
273+
```xml
274+
template=""
275+
```
276+
181277
### Class
278+
279+
**Trigger:** `m2.layout.attr.class`
280+
281+
**Output:**
282+
```xml
283+
class=""
284+
```
285+
182286
### Name
287+
288+
**Trigger:** `m2.layout.attr.name`
289+
290+
**Output:**
291+
```xml
292+
name=""
293+
```
294+
183295
### Before
296+
297+
**Trigger:** `m2.layout.attr.before`
298+
299+
**Output:**
300+
```xml
301+
before=""
302+
```
303+
184304
### After
305+
306+
**Trigger:** `m2.layout.attr.after`
307+
308+
**Output:**
309+
```xml
310+
after=""
311+
```
312+
185313
### Cacheable
314+
315+
**Trigger:** `m2.layout.attr.cacheable`
316+
317+
**Output:**
318+
```xml
319+
cacheable=""
320+
```
321+
186322
### Display
323+
324+
**Trigger:** `m2.layout.attr.display`
325+
326+
**Output:**
327+
```xml
328+
display=""
329+
```
330+
187331
### Remove
332+
333+
**Trigger:** `m2.layout.attr.remove`
334+
335+
**Output:**
336+
```xml
337+
remove=""
338+
```

0 commit comments

Comments
 (0)