Exemple #1
0
        /// <summary>
        /// Add a dynamic javascript property to this object.
        /// </summary>
        public JSDynamicProperty AddDynamicProperty(string propertyName, JSInvokeMode invokeMode)
        {
            var p = new JSDynamicProperty(invokeMode);

            Add(propertyName, p);
            return(p);
        }
Exemple #2
0
        /// <summary>
        /// Add a dynamic javascript property to this object.
        /// </summary>
        public JSDynamicProperty AddDynamicProperty(string propertyName)
        {
            var p = new JSDynamicProperty();

            Add(propertyName, p);
            return(p);
        }