Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
api:component [2015/04/10 03:13]
rashy
api:component [2016/06/15 08:45]
payonel [Component API]
Line 29: Line 29:
   ​   ​
 Note that the component API has a metatable that allows the following syntax: Note that the component API has a metatable that allows the following syntax:
 +
 ```lua ```lua
 local component = require("​component"​) local component = require("​component"​)
Line 35: Line 36:
 print(rs0 == rs1) -- true print(rs0 == rs1) -- true
 ``` ```
 +
  
 Contents Contents
 ----------- -----------
 {{page>​api:​contents&​noheader&​noeditbutton&​nouser&​nofooter}} {{page>​api:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}