Fix #2488 - add ability to include inline script resource definitions in modules and themes
This commit is contained in:
@ -38,7 +38,7 @@ namespace Oqtane.Models
|
||||
public string CrossOrigin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Bundle ID in case this Resource belongs to a set of Resources, which may have already been loaded using LoadJS
|
||||
/// For Scripts a Bundle can be used to identify dependencies and ordering in the script loading process
|
||||
/// </summary>
|
||||
public string Bundle { get; set; }
|
||||
|
||||
@ -57,6 +57,11 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public bool ES6Module { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Allows specification of inline script - not applicable to Stylesheets
|
||||
/// </summary>
|
||||
public string Content { get; set; }
|
||||
|
||||
|
||||
[Obsolete("ResourceDeclaration is deprecated", false)]
|
||||
public ResourceDeclaration Declaration { get; set; }
|
||||
|
Reference in New Issue
Block a user