'Method to Ajax-retrieve the current options of this widget
@param resource: the S3Resource'

def ajax_options(self, resource):

    (min, max) = self._options(resource)
    attr = self._attr(resource)
    options = {attr['_id']: {'min': min, 'max': max}}
    return options
