Skip to content

Commit eac45b1

Browse files
committed
docs: add sample code to call the view cell
1 parent 8dc1fdd commit eac45b1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

user_guide_src/source/outgoing/view_cells.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ At the most basic level, all you need to implement within the class are public p
104104
<?= esc($message) ?>
105105
</div>
106106

107+
// Called in main View:
108+
<?= view_cell('AlertMessageCell', 'type=warning, message=Failed.') ?>
109+
107110
.. _generating-cell-via-command:
108111

109112
Generating Cell via Command

0 commit comments

Comments
 (0)