2022-04-26 14:36:05 +01:00
/ * \
2022-05-29 10:55:15 +01:00
title : $ : / c o r e / m o d u l e s / w i d g e t s / f i l l . j s
2022-04-26 14:36:05 +01:00
type : application / javascript
module - type : widget
2022-04-30 10:00:38 +01:00
Sub - widget used by the transclude widget for specifying values for slots within transcluded content . It doesn 't do anything by itself because the transclude widget only ever deals with the parse tree nodes, and doesn' t instantiate the widget itself
2022-04-26 14:36:05 +01:00
\ * /
( function ( ) {
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict" ;
var Widget = require ( "$:/core/modules/widgets/widget.js" ) . widget ;
2022-05-13 09:18:25 +01:00
var FillWidget = function ( parseTreeNode , options ) {
2022-04-26 14:36:05 +01:00
// Initialise
this . initialise ( parseTreeNode , options ) ;
} ;
/ *
Inherit from the base widget class
* /
2023-04-06 08:50:47 +01:00
FillWidget . prototype = new Widget ( ) ;
2022-04-26 14:36:05 +01:00
2022-05-13 09:18:25 +01:00
exports . fill = FillWidget ;
2022-04-26 14:36:05 +01:00
} ) ( ) ;