lib/assets/javascripts/unpoly/popup.coffee.erb in unpoly-rails-0.56.7 vs lib/assets/javascripts/unpoly/popup.coffee.erb in unpoly-rails-0.57.0

- old
+ new

@@ -54,11 +54,11 @@ @property up.popup.config @param {string} [config.position='bottom-right'] Defines where the popup is attached to the opening element. - Valid values are `bottom-right`, `bottom-left`, `top-right` and `top-left`. + Valid values are `'bottom-right'`, `'bottom-left'`, `'top-right'` and `'top-left'`. @param {string} [config.history=false] Whether opening a popup will add a browser history entry. @param {string} [config.openAnimation='fade-in'] The animation used to open a popup. @param {string} [config.closeAnimation='fade-out'] @@ -197,11 +197,11 @@ @param {string} [options.target] A CSS selector that will be extracted from the response and placed into the popup. @param {string} [options.position='bottom-right'] Defines where the popup is attached to the opening element. - Valid values are `bottom-right`, `bottom-left`, `top-right` and `top-left`. + Valid values are `'bottom-right'`, `'bottom-left'`, `'top-right'` and `'top-left'`. @param {string} [options.html] A string of HTML from which to extract the popup contents. No network request will be made. @param {string} [options.confirm] A message that will be displayed in a cancelable confirmation dialog before the modal is being opened. @@ -403,10 +403,10 @@ The CSS selector that will be extracted from the response and displayed in a popup overlay. @param [up-position] Defines where the popup is attached to the opening element. - Valid values are `bottom-right`, `bottom-left`, `top-right` and `top-left`. + Valid values are `'bottom-right'`, `'bottom-left'`, `'top-right'` and `'top-left'`. @param {string} [up-confirm] A message that will be displayed in a cancelable confirmation dialog before the popup is opened. @param {string} [up-method='GET'] Override the request method.